Skip to content

Commit

Permalink
v.22.0.0
Browse files Browse the repository at this point in the history
• #defines (updated the scripts that ensure defines – it's possible they will work more consistently now)
• updated controller operation methods
• updated Outlining Controller Raycasting; it is now named 'Controller Raycasting Targeting'
• #hierarchy
• updated distance utilities
• fixed component caching nulls issue; cleaned up Spawner code accordingly
• various code formatting changes
• 'DisallowMultipleComponent' added to singletons
• added Sole Behaviours (Auto Behaviours with 'DisallowMultipleComponent')
• attributed Ether as a Container
• added Starts As Universal
• #enumerables
• #assets
• updated AutoBehaviours.cs
• #constants
• #reflection
• #execution
• #instancing
• updated Enablee Component Extensions
• #console
• added Interfaces and updated interface checks in various methods
• #pinging
• #providing
• #ressing
• #selection
• #numbers
• updated editor utilities (notably, condensed many menubar operations into 'Menubar Macros')
• removed Reload Layout
  • Loading branch information
Hunter-Bobeck committed Dec 10, 2019
1 parent 8767445 commit 44f5700
Show file tree
Hide file tree
Showing 155 changed files with 3,203 additions and 1,171 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
using UnityEngine;
using UnityEditor;

[InitializeOnLoad]
// #defines
public static class DefineMoonMotionToolkit
{
static DefineMoonMotionToolkit()
{
Build.ensureDefine("MOON_MOTION_TOOLKIT");
}
[InitializeOnLoadMethod]
private static void ensureDefine()
=> Build.ensureDefine("MOON_MOTION_TOOLKIT");
}
Original file line number Diff line number Diff line change
Expand Up @@ -212,19 +212,19 @@ private void beginDashTo(object raycastHit_RaycastHitProvider)

#region updating


// at each physics update: //
public override void physicsUpdate()
{
if (operations.operated() && DashingOutlining.outlinedObject)
if (operations.isOperated() && DashingTargeting.targetedObject)
{
beginDashTo(DashingOutlining.outliningRaycastHit);
beginDashTo(DashingTargeting.targetingRaycastHit);
}
else if
(
currentlyDashing &&
(
(isCancelable && !DashingOutlining.outlinedObject && operations.operated()) ||
(isCancelable && !DashingTargeting.targetedObject && operations.isOperated()) ||

endUponTargetCollision.and(MoonMotionPlayer.isCollidedWith(potentialCurrentTargetCollider)) ||

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

// Dashing Targeting:
// • the Controller Raycasting Targeting for the Dashing locomotion
public class DashingTargeting : ControllerRaycastingTargeting<DashingTargeting>
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8e9253636bf2648bd813257f451f8486, type: 3}
m_Name: Default Dashing Highlighting
m_EditorClassIdentifier:
constantWidth: 0
effectGroup: 1
effectGroupLayer:
serializedVersion: 2
m_Bits: 18
alphaCutOff: 0
cullBackFaces: 1
fadeInDuration: 0.1
fadeOutDuration: 0.1
overlay: 0
overlayColor: {r: 0, g: 1, b: 0, a: 1}
overlayAnimationSpeed: 1.25
overlayMinIntensity: 0
overlayBlending: 1
outline: 0
outlineColor: {r: 0, g: 0, b: 0, a: 1}
outlineWidth: 0.4
outlineQuality: 2
outlineVisibility: 0
glow: 0.3
glowWidth: 0.4
glowQuality: 1
glowHQColor: {r: 0, g: 0, b: 0, a: 1}
glowDithering: 0
glowMagicNumber1: 0.75
glowMagicNumber2: 0.5
glowAnimationSpeed: 3
glowVisibility: 0
glowPasses:
- offset: 4
alpha: 0.1
color: {r: 0, g: 1, b: 0, a: 1}
- offset: 3
alpha: 0.2
color: {r: 0.07035923, g: 1, b: 0, a: 1}
- offset: 2
alpha: 0.3
color: {r: 0.20369065, g: 1, b: 0, a: 1}
- offset: 1
alpha: 0.4
color: {r: 0.9468056, g: 1, b: 0, a: 1}
innerGlow: 0
innerGlowWidth: 1
innerGlowColor: {r: 0, g: 0, b: 0, a: 1}
innerGlowVisibility: 0
targetFX: 0
targetFXTexture: {fileID: 2800000, guid: 1de3c566a6c8c405b9f6f453137273ec, type: 3}
targetFXColor: {r: 1, g: 1, b: 1, a: 1}
targetFXRotationSpeed: 30
targetFXInitialScale: 4
targetFXEndScale: 1.5
targetFXTransitionDuration: 0.5
targetFXStayDuration: 1.5
seeThrough: 0
seeThroughIntensity: 0.8
seeThroughTintAlpha: 0.3
seeThroughTintColor: {r: 0, g: 1, b: 0.09638786, a: 1}
seeThroughNoise: 0

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ private void beginSweepVia(Controller sweepingController)
// at each physics update: //
public override void physicsUpdate()
{
if (operations.operated() && !currentlySweeping)
if (operations.isOperated() && !currentlySweeping)
{
beginSweepVia(operations.firstOperatedControllerOtherwiseFallback());
beginSweepVia(operations.firstRelevantController());
}
else if
(
currentlySweeping &&
(
(isCancelable && operations.operated()) ||
(isCancelable && operations.isOperated()) ||

(limitSweepDuration && (timeSince(sweepStartingTime) > sweepDurationLimit)) ||

Expand Down
Loading

0 comments on commit 44f5700

Please sign in to comment.