Example #1
0
 protected override void SetProperties()
 {
     base.SetProperties();
     EditorGUILayout.LabelField("Aim Properties", boldStyle);
     EditorGUILayout.PropertyField(aimMask);
     EditorGUILayout.PropertyField(aimDistance);
     EditorGUILayout.PropertyField(aimOffset);
     EditorGUILayout.PropertyField(aimFX);
     EditorExtensions.DisplayAllChildrenPopup("Muzzle Pos", connectedPrefab, muzzlePosInd, muzzlePos);
 }
 public override void SetProperties()
 {
     base.SetProperties();
     EditorGUILayout.LabelField("Aim Properties", boldStyle);
     EditorGUILayout.PropertyField(minAimDistance);
     EditorGUILayout.PropertyField(aimDistance);
     EditorGUILayout.PropertyField(disableAimBehindMuzzle);
     EditorGUILayout.PropertyField(aimFX);
     EditorExtensions.DisplayAllChildrenPopup("Muzzle Pos", connectedPrefab, muzzlePosInd, muzzlePos);
 }