示例#1
0
文件: Planet.cs 项目: rghassem/Code
 /// <summary>
 /// Signal to launch the given landable
 /// </summary>
 /// <returns>
 /// True if allowed to launch
 /// </returns>
 public bool RequestLaunch(Landable landedCraft)
 {
     landedCraft.Launch( transform.position + transform.localScale + landedCraft.transform.lossyScale);
     return true; //TODO: Would we turn down a launch?
 }
示例#2
0
文件: Planet.cs 项目: adahera222/Code
 /// <summary>
 /// Signal to launch the given landable
 /// </summary>
 /// <returns>
 /// True if allowed to launch
 /// </returns>
 public bool RequestLaunch(Landable landedCraft)
 {
     landedCraft.Launch( transform.position + transform.localScale + landedCraft.transform.lossyScale);
     return true;
 }