예제 #1
0
 // Use this for initialization
 void Start()
 {
     animator = memoizer.GetMemoizedComponent<Animator>(unit);
     movement = memoizer.GetMemoizedComponent<MovementCC>(gameObject);
     chaseResource = memoizer.GetMemoizedComponent<ChaseResource>(gameObject);
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     descriptor = memoizer.GetMemoizedComponent<EntityDescriptor>(gameObject);
     movement = memoizer.GetMemoizedComponent<MovementCC>(gameObject);
     animator = memoizer.GetMemoizedComponent<Animator>(unit);
 }