コード例 #1
0
ファイル: ShipItem.cs プロジェクト: Maxii/CodeEnv.Master
 public void ChangeTopographyTo(Topography newTopography) {
     D.LogBold(ShowDebugLog, "{0}.ChangeTopographyTo({1}), Previous = {2}.", DebugName, newTopography.GetValueName(), Data.Topography.GetValueName());
     Data.Topography = newTopography;
 }
コード例 #2
0
 public void ChangeTopographyTo(Topography newTopography) {
     D.Log(ShowDebugLog, "{0}.ChangeTopographyTo({1}).", DebugName, newTopography.GetValueName());
     _rigidbody.drag = OpenSpaceDrag * newTopography.GetRelativeDensity();
 }