HI.
By creating a 3D object in the Script, I want to paste the texture of the inside but it does not go well.
Source …
plane = GameObject.CreatePrimitive (PrimitiveType.Plane);
plane.transform.position = new Vector3 (0, 0.1f,-0.1f);
plane.transform.eulerAngles = new Vector3 (0, 0, 0);
texture = Resources.Load (Application.streamingAssetsPath + “/ telop_02.png”) as Texture2D;
plane.renderer.material.mainTexture = texture;
Please tell me if I wrong somewhere.