Esempio n. 1
0
        private static void MenuClicked1()
        {
            var transform = new GameObject("transform").transform;

            TransformSimplify.SetLocalPosX(transform, 5.0f);
            TransformSimplify.SetLocalPosY(transform, 5.0f);
            TransformSimplify.SetLocalPosZ(transform, 5.0f);
            TransformSimplify.Identity(transform);

            var childTrans = new GameObject("Child").transform;

            TransformSimplify.AddChild(transform, childTrans);
        }
Esempio n. 2
0
 public void Identity()
 {
     TransformSimplify.Identity(transform);
 }