|
- using System;
- using System.Collections.Generic;
- using SUISS.Core;
-
- namespace Engine.DependencyTree
- {
- public class DailyGameStateDependency : DailyAbstractStateDependency<CIGGameState>
- {
- public DailyGameStateDependency(string identifier, Dictionary<string, object> persistentState, Dictionary<string, string> properties, DependencyTree.Communicator communicator) : base(identifier, persistentState, properties, communicator)
- {
- }
-
- protected override CIGGameState GetState()
- {
- if (SingletonMonobehaviour<CIGGameState>.IsAvailable)
- {
- return SingletonMonobehaviour<CIGGameState>.Instance;
- }
- return null;
- }
- }
- }
|