void RandomEyes_OnCustomShapeChanged(RandomEyesCustomShapeStatus status)
 {
     Debug.Log("RandomEyes_OnCustomShapeChanged:" +
               " instance(" + status.instance.GetType() + ")," +
               " name(" + status.instance.name + ")," +
               " shapeIndex(" + status.shapeIndex + ")," +
               " shapeName(" + status.shapeName + ")," +
               " overrideOn(" + status.overrideOn + ")," +
               " isOn(" + status.isOn + ")," +
               " blendSpeed(" + status.blendSpeed + ")," +
               " rangeOfMotion(" + status.rangeOfMotion + ")");
 }
 void RandomEyes_OnCustomShapeChanged(RandomEyesCustomShapeStatus status)
 {
     Debug.Log("RandomEyes_OnCustomShapeChanged:" +
               " instance(" + status.instance.GetType() + ")," +
               " name(" + status.instance.name + ")," +
               " shapeIndex(" + status.shapeIndex + ")," +
               " shapeName(" + status.shapeName + ")," +
               " overrideOn(" + status.overrideOn + ")," +
               " isOn(" + status.isOn + ")," +
               " blendSpeed(" + status.blendSpeed + ")," +
               " rangeOfMotion(" + status.rangeOfMotion + ")");
 }
        void RandomEyes_OnCustomShapeChanged(RandomEyesCustomShapeStatus customShape)
        {
            if (customShape.isOn == true)
            {
                if (customIndex < randomEyes3D.customShapes.Length-1)
                {
                    customIndex++;
                }
                else
                {
                    customIndex = 0;
                }

                randomEyes3D.SetCustomShape(randomEyes3D.customShapes[customIndex].shapeName);
            }
        }
Beispiel #4
0
        void RandomEyes_OnCustomShapeChanged(RandomEyesCustomShapeStatus customShape)
        {
            if (customShape.isOn == true)
            {
                if (customIndex < randomEyes3D.customShapes.Length - 1)
                {
                    customIndex++;
                }
                else
                {
                    customIndex = 0;
                }

                randomEyes3D.SetCustomShape(randomEyes3D.customShapes[customIndex].shapeName);
            }
        }