Interface ICenter
Interprets properties of the parent cube. Default is disabled. This script is only enabled when it received set parent input.
Namespace: XRC.Students.SU2023.IN03.Chen
Assembly: cs.temp.dll.dll
Syntax
public interface ICenter
Methods
Clear()
Empty the child list of this parent cube
Declaration
virtual void Clear()
Detach(GameObject)
Detach this child cube from its parent cube and remove this child from the child list
Declaration
virtual void Detach(GameObject child)
Parameters
Type | Name | Description |
---|---|---|
GameObject | child | The child cube to be detached from parent. |
DetachChildHelper(GameObject)
Detach this child cube from its parent cube
Declaration
virtual void DetachChildHelper(GameObject child)
Parameters
Type | Name | Description |
---|---|---|
GameObject | child | The child cube to be detached from parent. |
OrderChildren()
Spread the children cubes evenly around the center cube.
Declaration
virtual void OrderChildren()