FairyGUI.Image.Create C# (CSharp) Méthode

Create() protected méthode

protected Create ( NTexture texture ) : void
texture NTexture
Résultat void
        void Create(NTexture texture)
        {
            _touchDisabled = true;
            _fillClockwise = true;

            CreateGameObject("Image");
            graphics = new NGraphics(gameObject);
            graphics.shader = ShaderConfig.imageShader;

            _color = Color.white;
            if (texture != null)
                UpdateTexture(texture);
        }