Component that can be added to GameObjects with Renderers to let them offset the texture at runtime.
상속: UnityEngine.MonoBehaviour
 private void Awake()
 {
     this.currentOffset = Vector2.zero;
     this.textureShifter = this.GetComponent<TextureShifter>();
 }
예제 #2
0
 private void Awake()
 {
     this.currentOffset  = Vector2.zero;
     this.textureShifter = this.GetComponent <TextureShifter>();
 }