Esempio n. 1
0
        static void RemoveAllVertexColors()
        {
            var obj = Selection.activeGameObject;

            VertexColorRemover.RemoveAllVertexColors(obj);
            Debug.LogFormat("[{0}] All vertex colors are removed from {1}", "VRCQuestTools", obj);
        }
        private static void RemoveAllVertexColorsFromAvatars(Scene scene)
        {
            var avatars = GetAvatars(scene);

            foreach (var a in avatars)
            {
                VertexColorRemover.RemoveAllVertexColors(a.gameObject);
            }
        }