Ejemplo n.º 1
0
        public static void MenuClicked()
        {
            var parentTrans = new GameObject("parentTrans").transform;
            var childTrans  = new GameObject("childTrans").transform;

            TransformSimplify.AddClild(parentTrans, childTrans);
        }
Ejemplo n.º 2
0
        private static void MenuClicked()
        {
            var transform = new GameObject("transform").transform;

            SetLoaclPosX(transform, 5.0f);
            SetLoaclPosY(transform, 5.0f);
            SetLoaclPosZ(transform, 5.0f);

            TransformSimplify.SetLoaclPosX(transform, 5.0f);

            Identity(transform);
        }