public void SetArea(PlatformArea a) { this.Area = a; }
// Runs on startup, retrieves the rigidbody and area components. public override void Initialize() { m_AgentRb = GetComponent <Rigidbody>(); m_MyArea = area.GetComponent <PlatformArea>(); }
public MapToAreaPointer(PlatformArea n, SquareType t, int r) { area = n; type = t; rangeToNextAbove = r; }