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