public void InitializeEntity(Vector3 position, TeamColor color) { transform.position = position; materialSetter.SetTeamMaterial(color); hitEffect.SetEffectMaterial(color); if (color == TeamColor.Black) { motor.SetStandardRotationForBlackPiece(); } }
public void InitializeEntity(Vector3 position, TeamColor color) { transform.position = position; materialSetter.SetTeamMaterial(color); hitEffect.SetEffectMaterial(color); if (color == TeamColor.Black) { motor.SetStandardRotationForBlackPiece(); } }