示例#1
0
 private void InitializeSplat(Splat splat)
 {
     splat.Manager = this;
     splat.Initialize();
     splat.gameObject.SetActive(false);
     UpdateProjectorIgnoreLayers(splat);
 }
示例#2
0
 /// <summary>
 /// Position of Current Spell Indicator or Mouse Ray if unavailable
 /// </summary>
 public Vector3 GetSpellCursorPosition()
 {
     //	if(CurrentSpellIndicator != null) {
     //		return CurrentSpellIndicator.transform.position;
     //	} else {
     return(Splat.Get3DMousePosition());
     //	}
 }
示例#3
0
 private void UpdateProjectorIgnoreLayers(Splat splat)
 {
     splat.Projectors.ToList().ForEach(x => x.ignoreLayers = ProjectorIgnore);
 }