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