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