void Start() { globalBlackboard = (GlobalBlackboard)blackboard.GetValue("globalBlackboard"); gameGlobalBlackboard = GameGlobalBlackboard.Instance; }
private void Awake() { blackboard = GetComponentInParent <Blackboard>(); globalBlackboard = (GlobalBlackboard)blackboard.GetValue("globalBlackboard"); gameGlobalBlackboard = GameGlobalBlackboard.Instance; }