Exemple #1
0
        public override void setupCapacity()
        {
            base.setupCapacity();

            _pivot = brain.tr;

            _collision = brain.getCapacity<CapacityCollision2D>();
            if (_collision == null) Debug.LogWarning("movement has no data for collision");
        }
Exemple #2
0
 public override void setupCapacity()
 {
     _collision = brain.getCapacity <CapacityCollision2D>();
     _move      = brain.getCapacity <CapacityMovementPlatformer>();
 }