コード例 #1
0
    public void Awake()
    {
        Owner = GetComponent <AgentHuman>();

        Animation = GetComponent <Animation>();
        //OwnerTransform = transform;

        FSM = new AnimFSM(Animation, Owner);
        FSM.Initialize();

        enabled = false;
    }
コード例 #2
0
ファイル: AnimComponent.cs プロジェクト: CohenLee/Scripts
 // Use this for initialization
 void Start()
 {
     FSM.Initialize();
     Owner.BlackBoard.AddActionHandle(this);
 }