示例#1
0
 private void Awake()
 {
     buttonMove = this;
     begin      = transform.position;
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     buttonMove = platform.GetComponent <ButtonMove>();
 }