Example #1
0
 public void SetActive(bool active, float[] position, float rotation)
 {
     transform.position = DataConversion.FloatArrayToVector3(position);
     transform.rotation = Quaternion.identity;
     transform.RotateAround(transform.position, Vector3.up, rotation);
     gameObject.SetActive(active);
 }