예제 #1
0
        public void PaintInOrange()
        {
            this._color = EquipmentPainting.Colors.Orange;
            foreach (Renderer renderer in this._renderers)
            {
                renderer.sharedMaterial = this._orangeMat;
            }
            Bloodify component = base.GetComponent <Bloodify>();

            if (component)
            {
                UnityEngine.Object.Destroy(component);
            }
        }
예제 #2
0
        public void PaintInOrange()
        {
            this._color = EquipmentPainting.Colors.Orange;
            Renderer[] renderers = this._renderers;
            for (int i = 0; i < renderers.Length; i++)
            {
                Renderer renderer = renderers[i];
                renderer.sharedMaterial = this._orangeMat;
            }
            Bloodify component = base.GetComponent <Bloodify>();

            if (component)
            {
                UnityEngine.Object.Destroy(component);
            }
        }