Interface ICubeVisualFeedback
The visual feedback of cube after its state changes between parent and child.
Namespace: XRC.Students.SU2023.IN03.Chen
Assembly: cs.temp.dll.dll
Syntax
public interface ICubeVisualFeedback
Methods
SetColor(GameObject, GameObject)
Declaration
virtual void SetColor(GameObject sourceCube, GameObject newCube)
Parameters
Type | Name | Description |
---|---|---|
GameObject | sourceCube | |
GameObject | newCube |
SetScale(Transform, Vector3)
Set the renderer of the cube to the scale
Declaration
virtual void SetScale(Transform outerCube, Vector3 scale)
Parameters
Type | Name | Description |
---|---|---|
Transform | outerCube | The outer cube containing the renderer |
Vector3 | scale | The desired scale |