示例#1
0
 void Awake()
 {
     if (!target)
     {
         target = GetComponent <UnityEngine.U2D.SpriteShapeController>();
     }
 }
示例#2
0
文件: Fleuve.cs 项目: leodar163/KWER
 public void Init()
 {
     grapheNoeuds = new List <NoeudFleuve>();
     ssController = GetComponent <UnityEngine.U2D.SpriteShapeController>();
     spline       = ssController.spline;
 }