Compare commits
8 Commits
karavan/na
...
lisin/char
Author | SHA1 | Date | |
---|---|---|---|
11090096fc | |||
2b7f81fa6e | |||
e90826e5bb | |||
4172fc94ba | |||
23cc872b33 | |||
e9ccb25ff6 | |||
6a68a08dae | |||
2c58f3a169 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -2,11 +2,6 @@
|
|||||||
#
|
#
|
||||||
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
|
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
|
||||||
#
|
#
|
||||||
|
|
||||||
# MLagents
|
|
||||||
Assets/ML-Agents/Timers/*
|
|
||||||
#
|
|
||||||
|
|
||||||
/[Ll]ibrary/
|
/[Ll]ibrary/
|
||||||
/[Tt]emp/
|
/[Tt]emp/
|
||||||
/[Oo]bj/
|
/[Oo]bj/
|
||||||
|
BIN
Assets/Arts/Models/Flag model.fbx
(Stored with Git LFS)
BIN
Assets/Arts/Models/Flag model.fbx
(Stored with Git LFS)
Binary file not shown.
@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: b066346f6f058034a94634a5e2ddf5a2
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1511783519
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c9f336e429337fb418d280964430fc7e
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1511747304
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3245706e81278e147b1e155ef32aed96
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1511783533
|
|
||||||
licenseType: Store
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
2
Assets/Arts/SciFiWarriorPBRHPPolyart.meta → Assets/Defaults.meta
generated
Normal file → Executable file
2
Assets/Arts/SciFiWarriorPBRHPPolyart.meta → Assets/Defaults.meta
generated
Normal file → Executable file
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 82f7b8447b1316d4da32a84e7a204f2f
|
guid: b183268306ddaac4b875d5d435faa50b
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
4
Assets/Models/Materials/Green.mat → Assets/Defaults/mat_proBuilder.mat
generated
Normal file → Executable file
4
Assets/Models/Materials/Green.mat → Assets/Defaults/mat_proBuilder.mat
generated
Normal file → Executable file
@ -7,7 +7,7 @@ Material:
|
|||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_Name: Green
|
m_Name: mat_proBuilder
|
||||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_ShaderKeywords:
|
m_ShaderKeywords:
|
||||||
m_LightmapFlags: 4
|
m_LightmapFlags: 4
|
||||||
@ -73,5 +73,5 @@ Material:
|
|||||||
- _UVSec: 0
|
- _UVSec: 0
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _Color: {r: 0.43137258, g: 0.7372549, b: 0.18039216, a: 1}
|
- _Color: {r: 0.735849, g: 0.13536847, b: 0.13536847, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
2
Assets/Models/Materials/Green.mat.meta → Assets/Defaults/mat_proBuilder.mat.meta
generated
Normal file → Executable file
2
Assets/Models/Materials/Green.mat.meta → Assets/Defaults/mat_proBuilder.mat.meta
generated
Normal file → Executable file
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 41db39301ab6fe546afcbcd9059af8a2
|
guid: 536ae120520e6f245bad32b94a03f6a2
|
||||||
NativeFormatImporter:
|
NativeFormatImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
mainObjectFileID: 2100000
|
mainObjectFileID: 2100000
|
35
Assets/Inputs/InputSystem.inputsettings.asset
generated
35
Assets/Inputs/InputSystem.inputsettings.asset
generated
@ -1,35 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!114 &11400000
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 0}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: c46f07b5ed07e4e92aa78254188d3d10, type: 3}
|
|
||||||
m_Name: InputSystem.inputsettings
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_SupportedDevices: []
|
|
||||||
m_UpdateMode: 1
|
|
||||||
m_MaxEventBytesPerUpdate: 5242880
|
|
||||||
m_MaxQueuedEventsPerUpdate: 1000
|
|
||||||
m_CompensateForScreenOrientation: 1
|
|
||||||
m_BackgroundBehavior: 0
|
|
||||||
m_EditorInputBehaviorInPlayMode: 0
|
|
||||||
m_DefaultDeadzoneMin: 0.125
|
|
||||||
m_DefaultDeadzoneMax: 0.925
|
|
||||||
m_DefaultButtonPressPoint: 0.5
|
|
||||||
m_ButtonReleaseThreshold: 0.75
|
|
||||||
m_DefaultTapTime: 0.2
|
|
||||||
m_DefaultSlowTapTime: 0.5
|
|
||||||
m_DefaultHoldTime: 0.4
|
|
||||||
m_TapRadius: 5
|
|
||||||
m_MultiTapDelayTime: 0.75
|
|
||||||
m_DisableRedundantEventsMerging: 0
|
|
||||||
m_iOSSettings:
|
|
||||||
m_MotionUsage:
|
|
||||||
m_Enabled: 0
|
|
||||||
m_Description:
|
|
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4480bcbc35319b14588f3c0eb33e88c8
|
|
||||||
NativeFormatImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
mainObjectFileID: 11400000
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
@ -1,354 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
|
|
||||||
// version 1.3.0
|
|
||||||
// from Assets/Inputs/ThirdPersonViewInput.inputactions
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine.InputSystem;
|
|
||||||
using UnityEngine.InputSystem.Utilities;
|
|
||||||
|
|
||||||
public partial class @ThirdPersonViewInput : IInputActionCollection2, IDisposable
|
|
||||||
{
|
|
||||||
public InputActionAsset asset { get; }
|
|
||||||
public @ThirdPersonViewInput()
|
|
||||||
{
|
|
||||||
asset = InputActionAsset.FromJson(@"{
|
|
||||||
""name"": ""ThirdPersonViewInput"",
|
|
||||||
""maps"": [
|
|
||||||
{
|
|
||||||
""name"": ""Player Movement"",
|
|
||||||
""id"": ""50a259c9-d17f-4483-bd4b-feb4e290989d"",
|
|
||||||
""actions"": [
|
|
||||||
{
|
|
||||||
""name"": ""Movement"",
|
|
||||||
""type"": ""PassThrough"",
|
|
||||||
""id"": ""be8e85db-0110-45cd-823f-1058ed7eb184"",
|
|
||||||
""expectedControlType"": ""Vector2"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""Camera"",
|
|
||||||
""type"": ""PassThrough"",
|
|
||||||
""id"": ""f7ad7ce9-d43f-468d-ab0f-54cc66ac33fa"",
|
|
||||||
""expectedControlType"": ""Vector2"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
""bindings"": [
|
|
||||||
{
|
|
||||||
""name"": ""WASD"",
|
|
||||||
""id"": ""72e37b69-1a0d-4e6e-a5aa-7a2a62845d22"",
|
|
||||||
""path"": ""2DVector(mode=2)"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Movement"",
|
|
||||||
""isComposite"": true,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""up"",
|
|
||||||
""id"": ""a5e60c10-53e0-484a-be45-210fc2d3d305"",
|
|
||||||
""path"": ""<Keyboard>/w"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Movement"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""down"",
|
|
||||||
""id"": ""cdafb043-b1bc-4680-9d55-91854d1e2eb4"",
|
|
||||||
""path"": ""<Keyboard>/s"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Movement"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""left"",
|
|
||||||
""id"": ""4da8623e-6baa-4256-99ec-d016f9ad6c1f"",
|
|
||||||
""path"": ""<Keyboard>/a"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Movement"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""right"",
|
|
||||||
""id"": ""5c98d073-e749-49de-bb73-c6f5920f53f1"",
|
|
||||||
""path"": ""<Keyboard>/d"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Movement"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""d8db2334-67bd-461e-92dc-dc04f2b64660"",
|
|
||||||
""path"": ""<Mouse>/delta"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": ""NormalizeVector2"",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Camera"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""Player Actions"",
|
|
||||||
""id"": ""7c28b681-44ce-4c44-832c-561051fceb49"",
|
|
||||||
""actions"": [
|
|
||||||
{
|
|
||||||
""name"": ""Jump"",
|
|
||||||
""type"": ""Button"",
|
|
||||||
""id"": ""ef60df41-7d24-45f4-a426-4e6b9fe4d374"",
|
|
||||||
""expectedControlType"": ""Button"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""Crouch"",
|
|
||||||
""type"": ""Button"",
|
|
||||||
""id"": ""19075beb-f2d7-4af5-bbcc-e2b53e1e139a"",
|
|
||||||
""expectedControlType"": ""Button"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": ""Fire"",
|
|
||||||
""type"": ""PassThrough"",
|
|
||||||
""id"": ""2b493869-f7ab-4acb-8918-11b0265f0993"",
|
|
||||||
""expectedControlType"": ""Button"",
|
|
||||||
""processors"": """",
|
|
||||||
""interactions"": """",
|
|
||||||
""initialStateCheck"": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
""bindings"": [
|
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""e8b4d9c1-7565-4954-b6f9-f9c7ed95f613"",
|
|
||||||
""path"": ""<Keyboard>/space"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Jump"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""a02f0962-5e78-44c2-aaf3-ee059376bda6"",
|
|
||||||
""path"": ""<Keyboard>/c"",
|
|
||||||
""interactions"": """",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Crouch"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
""name"": """",
|
|
||||||
""id"": ""5caa47c3-a8d5-4aad-86fe-40cdca87210a"",
|
|
||||||
""path"": ""<Mouse>/leftButton"",
|
|
||||||
""interactions"": ""Hold(duration=0.1)"",
|
|
||||||
""processors"": """",
|
|
||||||
""groups"": """",
|
|
||||||
""action"": ""Fire"",
|
|
||||||
""isComposite"": false,
|
|
||||||
""isPartOfComposite"": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
""controlSchemes"": []
|
|
||||||
}");
|
|
||||||
// Player Movement
|
|
||||||
m_PlayerMovement = asset.FindActionMap("Player Movement", throwIfNotFound: true);
|
|
||||||
m_PlayerMovement_Movement = m_PlayerMovement.FindAction("Movement", throwIfNotFound: true);
|
|
||||||
m_PlayerMovement_Camera = m_PlayerMovement.FindAction("Camera", throwIfNotFound: true);
|
|
||||||
// Player Actions
|
|
||||||
m_PlayerActions = asset.FindActionMap("Player Actions", throwIfNotFound: true);
|
|
||||||
m_PlayerActions_Jump = m_PlayerActions.FindAction("Jump", throwIfNotFound: true);
|
|
||||||
m_PlayerActions_Crouch = m_PlayerActions.FindAction("Crouch", throwIfNotFound: true);
|
|
||||||
m_PlayerActions_Fire = m_PlayerActions.FindAction("Fire", throwIfNotFound: true);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
UnityEngine.Object.Destroy(asset);
|
|
||||||
}
|
|
||||||
|
|
||||||
public InputBinding? bindingMask
|
|
||||||
{
|
|
||||||
get => asset.bindingMask;
|
|
||||||
set => asset.bindingMask = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ReadOnlyArray<InputDevice>? devices
|
|
||||||
{
|
|
||||||
get => asset.devices;
|
|
||||||
set => asset.devices = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
|
|
||||||
|
|
||||||
public bool Contains(InputAction action)
|
|
||||||
{
|
|
||||||
return asset.Contains(action);
|
|
||||||
}
|
|
||||||
|
|
||||||
public IEnumerator<InputAction> GetEnumerator()
|
|
||||||
{
|
|
||||||
return asset.GetEnumerator();
|
|
||||||
}
|
|
||||||
|
|
||||||
IEnumerator IEnumerable.GetEnumerator()
|
|
||||||
{
|
|
||||||
return GetEnumerator();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Enable()
|
|
||||||
{
|
|
||||||
asset.Enable();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Disable()
|
|
||||||
{
|
|
||||||
asset.Disable();
|
|
||||||
}
|
|
||||||
public IEnumerable<InputBinding> bindings => asset.bindings;
|
|
||||||
|
|
||||||
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
|
|
||||||
{
|
|
||||||
return asset.FindAction(actionNameOrId, throwIfNotFound);
|
|
||||||
}
|
|
||||||
public int FindBinding(InputBinding bindingMask, out InputAction action)
|
|
||||||
{
|
|
||||||
return asset.FindBinding(bindingMask, out action);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Player Movement
|
|
||||||
private readonly InputActionMap m_PlayerMovement;
|
|
||||||
private IPlayerMovementActions m_PlayerMovementActionsCallbackInterface;
|
|
||||||
private readonly InputAction m_PlayerMovement_Movement;
|
|
||||||
private readonly InputAction m_PlayerMovement_Camera;
|
|
||||||
public struct PlayerMovementActions
|
|
||||||
{
|
|
||||||
private @ThirdPersonViewInput m_Wrapper;
|
|
||||||
public PlayerMovementActions(@ThirdPersonViewInput wrapper) { m_Wrapper = wrapper; }
|
|
||||||
public InputAction @Movement => m_Wrapper.m_PlayerMovement_Movement;
|
|
||||||
public InputAction @Camera => m_Wrapper.m_PlayerMovement_Camera;
|
|
||||||
public InputActionMap Get() { return m_Wrapper.m_PlayerMovement; }
|
|
||||||
public void Enable() { Get().Enable(); }
|
|
||||||
public void Disable() { Get().Disable(); }
|
|
||||||
public bool enabled => Get().enabled;
|
|
||||||
public static implicit operator InputActionMap(PlayerMovementActions set) { return set.Get(); }
|
|
||||||
public void SetCallbacks(IPlayerMovementActions instance)
|
|
||||||
{
|
|
||||||
if (m_Wrapper.m_PlayerMovementActionsCallbackInterface != null)
|
|
||||||
{
|
|
||||||
@Movement.started -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnMovement;
|
|
||||||
@Movement.performed -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnMovement;
|
|
||||||
@Movement.canceled -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnMovement;
|
|
||||||
@Camera.started -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnCamera;
|
|
||||||
@Camera.performed -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnCamera;
|
|
||||||
@Camera.canceled -= m_Wrapper.m_PlayerMovementActionsCallbackInterface.OnCamera;
|
|
||||||
}
|
|
||||||
m_Wrapper.m_PlayerMovementActionsCallbackInterface = instance;
|
|
||||||
if (instance != null)
|
|
||||||
{
|
|
||||||
@Movement.started += instance.OnMovement;
|
|
||||||
@Movement.performed += instance.OnMovement;
|
|
||||||
@Movement.canceled += instance.OnMovement;
|
|
||||||
@Camera.started += instance.OnCamera;
|
|
||||||
@Camera.performed += instance.OnCamera;
|
|
||||||
@Camera.canceled += instance.OnCamera;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public PlayerMovementActions @PlayerMovement => new PlayerMovementActions(this);
|
|
||||||
|
|
||||||
// Player Actions
|
|
||||||
private readonly InputActionMap m_PlayerActions;
|
|
||||||
private IPlayerActionsActions m_PlayerActionsActionsCallbackInterface;
|
|
||||||
private readonly InputAction m_PlayerActions_Jump;
|
|
||||||
private readonly InputAction m_PlayerActions_Crouch;
|
|
||||||
private readonly InputAction m_PlayerActions_Fire;
|
|
||||||
public struct PlayerActionsActions
|
|
||||||
{
|
|
||||||
private @ThirdPersonViewInput m_Wrapper;
|
|
||||||
public PlayerActionsActions(@ThirdPersonViewInput wrapper) { m_Wrapper = wrapper; }
|
|
||||||
public InputAction @Jump => m_Wrapper.m_PlayerActions_Jump;
|
|
||||||
public InputAction @Crouch => m_Wrapper.m_PlayerActions_Crouch;
|
|
||||||
public InputAction @Fire => m_Wrapper.m_PlayerActions_Fire;
|
|
||||||
public InputActionMap Get() { return m_Wrapper.m_PlayerActions; }
|
|
||||||
public void Enable() { Get().Enable(); }
|
|
||||||
public void Disable() { Get().Disable(); }
|
|
||||||
public bool enabled => Get().enabled;
|
|
||||||
public static implicit operator InputActionMap(PlayerActionsActions set) { return set.Get(); }
|
|
||||||
public void SetCallbacks(IPlayerActionsActions instance)
|
|
||||||
{
|
|
||||||
if (m_Wrapper.m_PlayerActionsActionsCallbackInterface != null)
|
|
||||||
{
|
|
||||||
@Jump.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump;
|
|
||||||
@Jump.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump;
|
|
||||||
@Jump.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnJump;
|
|
||||||
@Crouch.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch;
|
|
||||||
@Crouch.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch;
|
|
||||||
@Crouch.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnCrouch;
|
|
||||||
@Fire.started -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire;
|
|
||||||
@Fire.performed -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire;
|
|
||||||
@Fire.canceled -= m_Wrapper.m_PlayerActionsActionsCallbackInterface.OnFire;
|
|
||||||
}
|
|
||||||
m_Wrapper.m_PlayerActionsActionsCallbackInterface = instance;
|
|
||||||
if (instance != null)
|
|
||||||
{
|
|
||||||
@Jump.started += instance.OnJump;
|
|
||||||
@Jump.performed += instance.OnJump;
|
|
||||||
@Jump.canceled += instance.OnJump;
|
|
||||||
@Crouch.started += instance.OnCrouch;
|
|
||||||
@Crouch.performed += instance.OnCrouch;
|
|
||||||
@Crouch.canceled += instance.OnCrouch;
|
|
||||||
@Fire.started += instance.OnFire;
|
|
||||||
@Fire.performed += instance.OnFire;
|
|
||||||
@Fire.canceled += instance.OnFire;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public PlayerActionsActions @PlayerActions => new PlayerActionsActions(this);
|
|
||||||
public interface IPlayerMovementActions
|
|
||||||
{
|
|
||||||
void OnMovement(InputAction.CallbackContext context);
|
|
||||||
void OnCamera(InputAction.CallbackContext context);
|
|
||||||
}
|
|
||||||
public interface IPlayerActionsActions
|
|
||||||
{
|
|
||||||
void OnJump(InputAction.CallbackContext context);
|
|
||||||
void OnCrouch(InputAction.CallbackContext context);
|
|
||||||
void OnFire(InputAction.CallbackContext context);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,166 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "ThirdPersonViewInput",
|
|
||||||
"maps": [
|
|
||||||
{
|
|
||||||
"name": "Player Movement",
|
|
||||||
"id": "50a259c9-d17f-4483-bd4b-feb4e290989d",
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"name": "Movement",
|
|
||||||
"type": "PassThrough",
|
|
||||||
"id": "be8e85db-0110-45cd-823f-1058ed7eb184",
|
|
||||||
"expectedControlType": "Vector2",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Camera",
|
|
||||||
"type": "PassThrough",
|
|
||||||
"id": "f7ad7ce9-d43f-468d-ab0f-54cc66ac33fa",
|
|
||||||
"expectedControlType": "Vector2",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bindings": [
|
|
||||||
{
|
|
||||||
"name": "WASD",
|
|
||||||
"id": "72e37b69-1a0d-4e6e-a5aa-7a2a62845d22",
|
|
||||||
"path": "2DVector(mode=2)",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Movement",
|
|
||||||
"isComposite": true,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "up",
|
|
||||||
"id": "a5e60c10-53e0-484a-be45-210fc2d3d305",
|
|
||||||
"path": "<Keyboard>/w",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Movement",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "down",
|
|
||||||
"id": "cdafb043-b1bc-4680-9d55-91854d1e2eb4",
|
|
||||||
"path": "<Keyboard>/s",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Movement",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "left",
|
|
||||||
"id": "4da8623e-6baa-4256-99ec-d016f9ad6c1f",
|
|
||||||
"path": "<Keyboard>/a",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Movement",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "right",
|
|
||||||
"id": "5c98d073-e749-49de-bb73-c6f5920f53f1",
|
|
||||||
"path": "<Keyboard>/d",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Movement",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "d8db2334-67bd-461e-92dc-dc04f2b64660",
|
|
||||||
"path": "<Mouse>/delta",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "NormalizeVector2",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Camera",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Player Actions",
|
|
||||||
"id": "7c28b681-44ce-4c44-832c-561051fceb49",
|
|
||||||
"actions": [
|
|
||||||
{
|
|
||||||
"name": "Jump",
|
|
||||||
"type": "Button",
|
|
||||||
"id": "ef60df41-7d24-45f4-a426-4e6b9fe4d374",
|
|
||||||
"expectedControlType": "Button",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Crouch",
|
|
||||||
"type": "Button",
|
|
||||||
"id": "19075beb-f2d7-4af5-bbcc-e2b53e1e139a",
|
|
||||||
"expectedControlType": "Button",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Fire",
|
|
||||||
"type": "PassThrough",
|
|
||||||
"id": "2b493869-f7ab-4acb-8918-11b0265f0993",
|
|
||||||
"expectedControlType": "Button",
|
|
||||||
"processors": "",
|
|
||||||
"interactions": "",
|
|
||||||
"initialStateCheck": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bindings": [
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "e8b4d9c1-7565-4954-b6f9-f9c7ed95f613",
|
|
||||||
"path": "<Keyboard>/space",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Jump",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "a02f0962-5e78-44c2-aaf3-ee059376bda6",
|
|
||||||
"path": "<Keyboard>/c",
|
|
||||||
"interactions": "",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Crouch",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "",
|
|
||||||
"id": "5caa47c3-a8d5-4aad-86fe-40cdca87210a",
|
|
||||||
"path": "<Mouse>/leftButton",
|
|
||||||
"interactions": "Hold(duration=0.1)",
|
|
||||||
"processors": "",
|
|
||||||
"groups": "",
|
|
||||||
"action": "Fire",
|
|
||||||
"isComposite": false,
|
|
||||||
"isPartOfComposite": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"controlSchemes": []
|
|
||||||
}
|
|
14
Assets/Inputs/ThirdPersonViewInput.inputactions.meta
generated
14
Assets/Inputs/ThirdPersonViewInput.inputactions.meta
generated
@ -1,14 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a17c8887bfca8834d8287fab2f0cadf8
|
|
||||||
ScriptedImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3}
|
|
||||||
generateWrapperCode: 1
|
|
||||||
wrapperCodePath:
|
|
||||||
wrapperClassName:
|
|
||||||
wrapperCodeNamespace:
|
|
2
Assets/Arts.meta → Assets/JMO Assets.meta
generated
2
Assets/Arts.meta → Assets/JMO Assets.meta
generated
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 0d3fef053a0198e44a77e5bbb1c9e6ba
|
guid: e926d27129f92434d9b9836194b73a37
|
||||||
folderAsset: yes
|
folderAsset: yes
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
2
Assets/JMO Assets/Cartoon FX Easy Editor.meta
generated
Normal file
2
Assets/JMO Assets/Cartoon FX Easy Editor.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7a7171bf41aeb6949b08451fbcd42dd7
|
@ -0,0 +1,29 @@
|
|||||||
|
Cartoon FX Easy Editor
|
||||||
|
2017/09/28
|
||||||
|
© 2017 - Jean Moreno
|
||||||
|
======================
|
||||||
|
|
||||||
|
You can open the editor within the Unity top menu:
|
||||||
|
Window -> Cartoon FX Easy Editor
|
||||||
|
|
||||||
|
It allows you to easily change properties of the selected Particle System(s):
|
||||||
|
|
||||||
|
"Quick Edit" can change various properties in one click:
|
||||||
|
- "Scale Size" to change the size of your Particle Systems; it is different than using the Transform scale, because it will actually directly scale the relevant properties (speed, velocity, gravity, etc.).
|
||||||
|
The scaling should thus be more accurante than changing the Transform scale (even when using 'Hierarchy' scaling mode).
|
||||||
|
It will also scale lights' intensity accordingly if any are found.
|
||||||
|
Tip: If you don't want to scale a particular module, disable it before scaling the system and re-enable it afterwards!
|
||||||
|
- The other functions should be self-explanatory
|
||||||
|
|
||||||
|
"Color Edit" to easily change the colors, either by selecting the color directly, or tinting the existing colors.
|
||||||
|
This works on gradient too.
|
||||||
|
|
||||||
|
"Copy Modules" allows you to copy all values/curves/gradients/etc. from specific modules of a source Particle System to other Particle Systems.
|
||||||
|
Just select which modules you want to copy, choose the source Particle System to copy values from, select the Particle Systems you want to change, and click on "Copy properties to selected GameObject(s)".
|
||||||
|
|
||||||
|
CONTACT
|
||||||
|
-------
|
||||||
|
Questions, suggestions, help needed?
|
||||||
|
Contact me at:
|
||||||
|
|
||||||
|
jean.moreno.public+unity@gmail.com
|
2
Assets/JMO Assets/Cartoon FX Easy Editor/CartoonFX Easy Editor Readme.txt.meta
generated
Normal file
2
Assets/JMO Assets/Cartoon FX Easy Editor/CartoonFX Easy Editor Readme.txt.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 459d1fc7f02e45a45806af5efd38b025
|
2
Assets/JMO Assets/Cartoon FX Easy Editor/Editor.meta
generated
Normal file
2
Assets/JMO Assets/Cartoon FX Easy Editor/Editor.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ef74fe7f8dfc6894481d107231650819
|
1595
Assets/JMO Assets/Cartoon FX Easy Editor/Editor/CFXEasyEditor.cs
Normal file
1595
Assets/JMO Assets/Cartoon FX Easy Editor/Editor/CFXEasyEditor.cs
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/JMO Assets/Cartoon FX Easy Editor/Editor/CFXEasyEditor.cs.meta
generated
Normal file
7
Assets/JMO Assets/Cartoon FX Easy Editor/Editor/CFXEasyEditor.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d56b3c7055d81cb44803b5d7db4b65e0
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
2
Assets/JMO Assets/WarFX.meta
generated
Normal file
2
Assets/JMO Assets/WarFX.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bf67b04f7e403384eb93f422cf479252
|
141
Assets/JMO Assets/WarFX/!WarFX Readme.txt
Normal file
141
Assets/JMO Assets/WarFX/!WarFX Readme.txt
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
War FX, version 1.8
|
||||||
|
2019/03/20
|
||||||
|
© 2019 - Jean Moreno
|
||||||
|
====================
|
||||||
|
|
||||||
|
PREFABS
|
||||||
|
-------
|
||||||
|
Effects are located in the "_Effects" folders, and "_Effects (Mobile)" for mobile versions.
|
||||||
|
|
||||||
|
|
||||||
|
CARTOON FX EASY EDITOR
|
||||||
|
----------------------
|
||||||
|
Open the editor in the menu:
|
||||||
|
GameObject -> CartoonFX Easy Editor
|
||||||
|
|
||||||
|
Change the options of the editor, select the GameObject(s) you want to change, and press the corresponding buttons in the editor to apply the changes.
|
||||||
|
|
||||||
|
|
||||||
|
CARTOON FX SPAWN SYSTEM
|
||||||
|
-----------------------
|
||||||
|
CFX_SpawnSystem allows you to easily preload your effects at the beginning of a Scene and get them later, avoiding the need to call Instantiate. It is highly recommended for mobile platforms!
|
||||||
|
Create an empty GameObject and drag the script on it. You can then add GameObjects to it with its custom interface.
|
||||||
|
To get an object in your code, use CFX_SpawnSystem.GetNextObject(object), where 'object' is the original reference to the GameObject (same as if you used Instantiate).
|
||||||
|
Use the CFX_SpawnSystem.AllObjectsLoaded boolean value to check when objects have finished loading.
|
||||||
|
|
||||||
|
|
||||||
|
TROUBLESHOOTING
|
||||||
|
---------------
|
||||||
|
* Almost all prefabs have auto-destruction scripts for the Demo scene; remove them if you do not want your particle system to destroy itself upon completion.
|
||||||
|
* Some effects might lack luminosity in Linear Color Space (Unity Pro only); you can correct this issue on a case by case basis by increasing either the Tint Color of each Material, or the Start Color on the effect's Particle System Inspector.
|
||||||
|
|
||||||
|
|
||||||
|
PLEASE LEAVE A REVIEW OR RATE THE PACKAGE IF YOU FIND IT USEFUL!
|
||||||
|
Enjoy! :)
|
||||||
|
|
||||||
|
|
||||||
|
CONTACT
|
||||||
|
-------
|
||||||
|
Questions, suggestions, help needed?
|
||||||
|
Contact me at:
|
||||||
|
jean.moreno.public+unity@gmail.com
|
||||||
|
|
||||||
|
I'd be happy to see any effects used in your project, so feel free to drop me a line about that! :)
|
||||||
|
|
||||||
|
|
||||||
|
UPDATE NOTES
|
||||||
|
------------
|
||||||
|
1.8.04
|
||||||
|
- Removed 'JMOAssets.dll', became obsolete with the Asset Store update notification system
|
||||||
|
|
||||||
|
1.8.03
|
||||||
|
- fixed small API deprecation (Unity 2017.4+)
|
||||||
|
|
||||||
|
1.8.02
|
||||||
|
- updated demo scene to use Unity UI system
|
||||||
|
|
||||||
|
1.8.01
|
||||||
|
- Cartoon FX Easy Editor: added "Hue Shift" slider
|
||||||
|
- Cartoon FX Easy Editor: improved UI
|
||||||
|
- CartoonFX Easy Editor: fixed scaling for Unity 2017.1+
|
||||||
|
|
||||||
|
1.8
|
||||||
|
- War FX is now free!
|
||||||
|
- Unity 2017.1 minor fixes
|
||||||
|
- all effects can now be scaled using the Transform component
|
||||||
|
- updated CartoonFX Easy Editor (bug fixes)
|
||||||
|
|
||||||
|
1.76.1
|
||||||
|
- Unity 5.5 compatibility
|
||||||
|
|
||||||
|
1.76
|
||||||
|
- fixed Spawn System property 'hideObjectsInHierarchy' not being saved properly
|
||||||
|
- added more options to the CFX Spawn System:
|
||||||
|
* "Spawn as children of this GameObject": will spawn the instances as children of the Spawn System GameObject
|
||||||
|
* "Only retrieve inactive GameObjects": will only retrieve GameObjects that are inactive
|
||||||
|
* "Instantiate new instances if needed": will create new instances when no inactive instance is available
|
||||||
|
|
||||||
|
1.751
|
||||||
|
- removed Soft Particles for bullet holes
|
||||||
|
|
||||||
|
1.75
|
||||||
|
- updated demo scene
|
||||||
|
- fixed missing scripts
|
||||||
|
|
||||||
|
1.74
|
||||||
|
- fixed deprecated method warning in Unity 4.3+
|
||||||
|
|
||||||
|
1.73
|
||||||
|
- updated "JMO Assets" menu
|
||||||
|
- removed WFX_ParticleMeshBillboard, ends up being too expensive for mobile CPUs
|
||||||
|
|
||||||
|
1.72
|
||||||
|
- fixed warning in Unity 4.3+ for Spawn System editor
|
||||||
|
|
||||||
|
1.71
|
||||||
|
- fixed CFX_SpawnSystem not being set dirty when changed
|
||||||
|
- replaced WFX_AutoDestructShuriken with CFX_AutoDestructShuriken so that WarFX can be imported along the Cartoon FX packs
|
||||||
|
- using the same CFX_SpawnSystem as the Cartoon FX packs now
|
||||||
|
|
||||||
|
1.7
|
||||||
|
- updated CFX Editor
|
||||||
|
- updated max particle count for each prefab to lower memory usage
|
||||||
|
- removed all Lights for Mobile prefabs
|
||||||
|
|
||||||
|
1.61
|
||||||
|
- updated CFX Editor
|
||||||
|
|
||||||
|
1.6
|
||||||
|
- updated CFX Editor
|
||||||
|
(now in Window > CartoonFX Easy Editor, and more options)
|
||||||
|
- added JMO Assets menu (Window -> JMO Assets), to check for updates or get support
|
||||||
|
|
||||||
|
1.52
|
||||||
|
- fixed other Unity 4.1 incompatibilities
|
||||||
|
|
||||||
|
1.51
|
||||||
|
- fixed fog for a shader
|
||||||
|
|
||||||
|
1.5
|
||||||
|
- fixed Compilation error for CFX_SpawnSystem in Unity 4.1
|
||||||
|
- fixed Cartoon FX editor scaling, now supports "Size by Speed"
|
||||||
|
|
||||||
|
1.4
|
||||||
|
- inclusion of Cartoon FX Spawn System
|
||||||
|
|
||||||
|
1.3
|
||||||
|
- fix fog colors for some shaders
|
||||||
|
- better colors in linear color space
|
||||||
|
|
||||||
|
1.2
|
||||||
|
- fix compilation error with DirectX 11
|
||||||
|
|
||||||
|
1.1
|
||||||
|
- added a more realistic Flame Thrower (WFX_FlameThrower Big Alt)
|
||||||
|
- added Asset Labels to the prefabs
|
||||||
|
|
||||||
|
|
||||||
|
NOTES
|
||||||
|
-----
|
||||||
|
M4 Weapon model from Unity 3.5 Bootcamp Demo
|
||||||
|
Bullet Holes textures edited from Unity 3.5 Bootcamp Demo
|
2
Assets/JMO Assets/WarFX/!WarFX Readme.txt.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/!WarFX Readme.txt.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8d452a2501eaf7c47b01213988e3e5ec
|
2
Assets/JMO Assets/WarFX/Demo.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 33cdb7619e571aa4fa20a61357cb8de7
|
2
Assets/JMO Assets/WarFX/Demo/Assets.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e233e61b35e4aa746b298e1eafd39296
|
@ -0,0 +1,38 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
// Cartoon FX - (c) 2015 Jean Moreno
|
||||||
|
//
|
||||||
|
// Script handling looped effect in the Demo Scene, so that they eventually stop
|
||||||
|
|
||||||
|
[RequireComponent(typeof(ParticleSystem))]
|
||||||
|
public class CFX_AutoStopLoopedEffect : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float effectDuration = 2.5f;
|
||||||
|
private float d;
|
||||||
|
|
||||||
|
void OnEnable()
|
||||||
|
{
|
||||||
|
d = effectDuration;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if(d > 0)
|
||||||
|
{
|
||||||
|
d -= Time.deltaTime;
|
||||||
|
if(d <= 0)
|
||||||
|
{
|
||||||
|
this.GetComponent<ParticleSystem>().Stop(true);
|
||||||
|
|
||||||
|
CFX_Demo_Translate translation = this.gameObject.GetComponent<CFX_Demo_Translate>();
|
||||||
|
if(translation != null)
|
||||||
|
{
|
||||||
|
translation.enabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
Assets/JMO Assets/WarFX/Demo/Assets/CFX_AutoStopLoopedEffect.cs.meta
generated
Normal file
8
Assets/JMO Assets/WarFX/Demo/Assets/CFX_AutoStopLoopedEffect.cs.meta
generated
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d9c4e89389fa607479b0744ec6611490
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
14
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RandomDir.cs
Normal file
14
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RandomDir.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class CFX_Demo_RandomDir : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Vector3 min = new Vector3(0,0,0);
|
||||||
|
public Vector3 max = new Vector3(0,360,0);
|
||||||
|
|
||||||
|
void Awake ()
|
||||||
|
{
|
||||||
|
this.transform.eulerAngles = new Vector3(Random.Range(min.x,max.x),Random.Range(min.y,max.y),Random.Range(min.z,max.z));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RandomDir.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RandomDir.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 27666076fd6e86245aa62dfd9e943d6c
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
16
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RotateCamera.cs
Normal file
16
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RotateCamera.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class CFX_Demo_RotateCamera : MonoBehaviour
|
||||||
|
{
|
||||||
|
static public bool rotating = true;
|
||||||
|
|
||||||
|
public float speed = 30.0f;
|
||||||
|
public Transform rotationCenter;
|
||||||
|
|
||||||
|
void Update ()
|
||||||
|
{
|
||||||
|
if(rotating)
|
||||||
|
transform.RotateAround(rotationCenter.position, Vector3.up, speed*Time.deltaTime);
|
||||||
|
}
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RotateCamera.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_RotateCamera.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f71e90e62dfae594490eb4d9b611f930
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
25
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_Translate.cs
Normal file
25
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_Translate.cs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
// Cartoon FX - (c) 2015, Jean Moreno
|
||||||
|
|
||||||
|
public class CFX_Demo_Translate : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float speed = 30.0f;
|
||||||
|
public Vector3 rotation = Vector3.forward;
|
||||||
|
public Vector3 axis = Vector3.forward;
|
||||||
|
public bool gravity;
|
||||||
|
private Vector3 dir;
|
||||||
|
|
||||||
|
void Start ()
|
||||||
|
{
|
||||||
|
dir = new Vector3(Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f),Random.Range(0.0f,360.0f));
|
||||||
|
dir.Scale(rotation);
|
||||||
|
this.transform.localEulerAngles = dir;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update ()
|
||||||
|
{
|
||||||
|
this.transform.Translate(axis * speed * Time.deltaTime, Space.Self);
|
||||||
|
}
|
||||||
|
}
|
8
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_Translate.cs.meta
generated
Normal file
8
Assets/JMO Assets/WarFX/Demo/Assets/CFX_Demo_Translate.cs.meta
generated
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1e42ac40a6fba2e4d94a0070ef45cea1
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
346
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo.cs
Normal file
346
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo.cs
Normal file
@ -0,0 +1,346 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Demo Scene Script for WAR FX
|
||||||
|
*
|
||||||
|
* (c) 2015, Jean Moreno
|
||||||
|
**/
|
||||||
|
|
||||||
|
public class WFX_Demo : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float cameraSpeed = 10f;
|
||||||
|
|
||||||
|
public bool orderedSpawns = true;
|
||||||
|
public float step = 1.0f;
|
||||||
|
public float range = 5.0f;
|
||||||
|
private float order = -5.0f;
|
||||||
|
|
||||||
|
public GameObject walls;
|
||||||
|
public GameObject bulletholes;
|
||||||
|
|
||||||
|
public GameObject[] ParticleExamples;
|
||||||
|
|
||||||
|
private int exampleIndex;
|
||||||
|
private string randomSpawnsDelay = "0.5";
|
||||||
|
private bool randomSpawns;
|
||||||
|
|
||||||
|
private bool slowMo;
|
||||||
|
private bool rotateCam = true;
|
||||||
|
|
||||||
|
public Material wood,concrete,metal,checker;
|
||||||
|
public Material woodWall,concreteWall,metalWall,checkerWall;
|
||||||
|
private string groundTextureStr = "Checker";
|
||||||
|
private List<string> groundTextures = new List<string>(new string[]{"Concrete","Wood","Metal","Checker"});
|
||||||
|
|
||||||
|
void OnMouseDown()
|
||||||
|
{
|
||||||
|
RaycastHit hit = new RaycastHit();
|
||||||
|
if(this.GetComponent<Collider>().Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||||
|
{
|
||||||
|
GameObject particle = spawnParticle();
|
||||||
|
if(!particle.name.StartsWith("WFX_MF"))
|
||||||
|
particle.transform.position = hit.point + particle.transform.position;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public GameObject spawnParticle()
|
||||||
|
{
|
||||||
|
GameObject particles = (GameObject)Instantiate(ParticleExamples[exampleIndex]);
|
||||||
|
|
||||||
|
if(particles.name.StartsWith("WFX_MF"))
|
||||||
|
{
|
||||||
|
particles.transform.parent = ParticleExamples[exampleIndex].transform.parent;
|
||||||
|
particles.transform.localPosition = ParticleExamples[exampleIndex].transform.localPosition;
|
||||||
|
particles.transform.localRotation = ParticleExamples[exampleIndex].transform.localRotation;
|
||||||
|
}
|
||||||
|
else if(particles.name.Contains("Hole"))
|
||||||
|
{
|
||||||
|
particles.transform.parent = bulletholes.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
SetActiveCrossVersions(particles, true);
|
||||||
|
|
||||||
|
return particles;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetActiveCrossVersions(GameObject obj, bool active)
|
||||||
|
{
|
||||||
|
#if UNITY_3_5
|
||||||
|
obj.SetActiveRecursively(active);
|
||||||
|
#else
|
||||||
|
obj.SetActive(active);
|
||||||
|
for(int i = 0; i < obj.transform.childCount; i++)
|
||||||
|
obj.transform.GetChild(i).gameObject.SetActive(active);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnGUI()
|
||||||
|
{
|
||||||
|
GUILayout.BeginArea(new Rect(5,20,Screen.width-10,60));
|
||||||
|
|
||||||
|
GUILayout.BeginHorizontal();
|
||||||
|
GUILayout.Label("Effect: " + ParticleExamples[exampleIndex].name, GUILayout.Width(280));
|
||||||
|
if(GUILayout.Button("<", GUILayout.Width(30)))
|
||||||
|
{
|
||||||
|
prevParticle();
|
||||||
|
}
|
||||||
|
if(GUILayout.Button(">", GUILayout.Width(30)))
|
||||||
|
{
|
||||||
|
nextParticle();
|
||||||
|
}
|
||||||
|
|
||||||
|
GUILayout.FlexibleSpace();
|
||||||
|
GUILayout.Label("Click on the ground to spawn the selected effect");
|
||||||
|
GUILayout.FlexibleSpace();
|
||||||
|
|
||||||
|
if(GUILayout.Button(rotateCam ? "Pause Camera" : "Rotate Camera", GUILayout.Width(110)))
|
||||||
|
{
|
||||||
|
rotateCam = !rotateCam;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
if(GUILayout.Button(randomSpawns ? "Stop Random Spawns" : "Start Random Spawns", GUILayout.Width(140)))
|
||||||
|
{
|
||||||
|
randomSpawns = !randomSpawns;
|
||||||
|
if(randomSpawns) StartCoroutine("RandomSpawnsCoroutine");
|
||||||
|
else StopCoroutine("RandomSpawnsCoroutine");
|
||||||
|
}
|
||||||
|
|
||||||
|
randomSpawnsDelay = GUILayout.TextField(randomSpawnsDelay, 10, GUILayout.Width(42));
|
||||||
|
randomSpawnsDelay = Regex.Replace(randomSpawnsDelay, @"[^0-9.]", "");
|
||||||
|
*/
|
||||||
|
|
||||||
|
if(GUILayout.Button(this.GetComponent<Renderer>().enabled ? "Hide Ground" : "Show Ground", GUILayout.Width(90)))
|
||||||
|
{
|
||||||
|
this.GetComponent<Renderer>().enabled = !this.GetComponent<Renderer>().enabled;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(GUILayout.Button(slowMo ? "Normal Speed" : "Slow Motion", GUILayout.Width(100)))
|
||||||
|
{
|
||||||
|
slowMo = !slowMo;
|
||||||
|
if(slowMo) Time.timeScale = 0.33f;
|
||||||
|
else Time.timeScale = 1.0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
GUILayout.EndHorizontal();
|
||||||
|
|
||||||
|
//--------------------
|
||||||
|
|
||||||
|
GUILayout.BeginHorizontal();
|
||||||
|
|
||||||
|
GUILayout.Label("Ground texture: " + groundTextureStr, GUILayout.Width(160));
|
||||||
|
if(GUILayout.Button("<", GUILayout.Width(30)))
|
||||||
|
{
|
||||||
|
prevTexture();
|
||||||
|
}
|
||||||
|
if(GUILayout.Button(">", GUILayout.Width(30)))
|
||||||
|
{
|
||||||
|
nextTexture();
|
||||||
|
}
|
||||||
|
|
||||||
|
GUILayout.EndHorizontal();
|
||||||
|
|
||||||
|
GUILayout.EndArea();
|
||||||
|
|
||||||
|
//--------------------
|
||||||
|
|
||||||
|
if(m4.GetComponent<Renderer>().enabled)
|
||||||
|
{
|
||||||
|
GUILayout.BeginArea(new Rect(5, Screen.height - 100, Screen.width - 10, 90));
|
||||||
|
rotate_m4 = GUILayout.Toggle(rotate_m4, "AutoRotate Weapon", GUILayout.Width(250));
|
||||||
|
GUI.enabled = !rotate_m4;
|
||||||
|
float rx = m4.transform.localEulerAngles.x;
|
||||||
|
rx = rx > 90 ? rx-180 : rx;
|
||||||
|
float ry = m4.transform.localEulerAngles.y;
|
||||||
|
float rz = m4.transform.localEulerAngles.z;
|
||||||
|
rx = GUILayout.HorizontalSlider(rx, 0, 179, GUILayout.Width(256));
|
||||||
|
ry = GUILayout.HorizontalSlider(ry, 0, 359, GUILayout.Width(256));
|
||||||
|
rz = GUILayout.HorizontalSlider(rz, 0, 359, GUILayout.Width(256));
|
||||||
|
if(GUI.changed)
|
||||||
|
{
|
||||||
|
if(rx > 90)
|
||||||
|
rx += 180;
|
||||||
|
|
||||||
|
m4.transform.localEulerAngles = new Vector3(rx,ry,rz);
|
||||||
|
Debug.Log(rx);
|
||||||
|
}
|
||||||
|
GUILayout.EndArea();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public GameObject m4, m4fps;
|
||||||
|
private bool rotate_m4 = true;
|
||||||
|
|
||||||
|
IEnumerator RandomSpawnsCoroutine()
|
||||||
|
{
|
||||||
|
|
||||||
|
LOOP:
|
||||||
|
GameObject particles = spawnParticle();
|
||||||
|
|
||||||
|
if(orderedSpawns)
|
||||||
|
{
|
||||||
|
particles.transform.position = this.transform.position + new Vector3(order,particles.transform.position.y,0);
|
||||||
|
order -= step;
|
||||||
|
if(order < -range) order = range;
|
||||||
|
}
|
||||||
|
else particles.transform.position = this.transform.position + new Vector3(Random.Range(-range,range),0,Random.Range(-range,range)) + new Vector3(0,particles.transform.position.y,0);
|
||||||
|
|
||||||
|
yield return new WaitForSeconds(float.Parse(randomSpawnsDelay));
|
||||||
|
|
||||||
|
goto LOOP;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if(Input.GetKeyDown(KeyCode.LeftArrow))
|
||||||
|
{
|
||||||
|
prevParticle();
|
||||||
|
}
|
||||||
|
else if(Input.GetKeyDown(KeyCode.RightArrow))
|
||||||
|
{
|
||||||
|
nextParticle();
|
||||||
|
}
|
||||||
|
|
||||||
|
if(rotateCam)
|
||||||
|
{
|
||||||
|
Camera.main.transform.RotateAround(Vector3.zero, Vector3.up, cameraSpeed*Time.deltaTime);
|
||||||
|
}
|
||||||
|
if(rotate_m4)
|
||||||
|
{
|
||||||
|
m4.transform.Rotate(new Vector3(0,40f,0) * Time.deltaTime, Space.World);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void prevTexture()
|
||||||
|
{
|
||||||
|
int index = groundTextures.IndexOf(groundTextureStr);
|
||||||
|
index--;
|
||||||
|
if(index < 0)
|
||||||
|
index = groundTextures.Count-1;
|
||||||
|
|
||||||
|
groundTextureStr = groundTextures[index];
|
||||||
|
|
||||||
|
selectMaterial();
|
||||||
|
|
||||||
|
}
|
||||||
|
private void nextTexture()
|
||||||
|
{
|
||||||
|
int index = groundTextures.IndexOf(groundTextureStr);
|
||||||
|
index++;
|
||||||
|
if(index >= groundTextures.Count)
|
||||||
|
index = 0;
|
||||||
|
|
||||||
|
groundTextureStr = groundTextures[index];
|
||||||
|
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void selectMaterial()
|
||||||
|
{
|
||||||
|
switch(groundTextureStr)
|
||||||
|
{
|
||||||
|
case "Concrete":
|
||||||
|
this.GetComponent<Renderer>().material = concrete;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = concreteWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = concreteWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Wood":
|
||||||
|
this.GetComponent<Renderer>().material = wood;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = woodWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = woodWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Metal":
|
||||||
|
this.GetComponent<Renderer>().material = metal;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = metalWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = metalWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Checker":
|
||||||
|
this.GetComponent<Renderer>().material = checker;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = checkerWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = checkerWall;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void prevParticle()
|
||||||
|
{
|
||||||
|
exampleIndex--;
|
||||||
|
if(exampleIndex < 0) exampleIndex = ParticleExamples.Length - 1;
|
||||||
|
|
||||||
|
showHideStuff();
|
||||||
|
}
|
||||||
|
private void nextParticle()
|
||||||
|
{
|
||||||
|
exampleIndex++;
|
||||||
|
if(exampleIndex >= ParticleExamples.Length) exampleIndex = 0;
|
||||||
|
|
||||||
|
showHideStuff();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showHideStuff()
|
||||||
|
{
|
||||||
|
//Show m4
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_MF Spr"))
|
||||||
|
m4.GetComponent<Renderer>().enabled = true;
|
||||||
|
else
|
||||||
|
m4.GetComponent<Renderer>().enabled = false;
|
||||||
|
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_MF FPS"))
|
||||||
|
m4fps.GetComponent<Renderer>().enabled = true;
|
||||||
|
else
|
||||||
|
m4fps.GetComponent<Renderer>().enabled = false;
|
||||||
|
|
||||||
|
//Show walls
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_BImpact"))
|
||||||
|
{
|
||||||
|
SetActiveCrossVersions(walls, true);
|
||||||
|
|
||||||
|
Renderer[] rs = bulletholes.GetComponentsInChildren<Renderer>();
|
||||||
|
foreach(Renderer r in rs)
|
||||||
|
r.enabled = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetActiveCrossVersions(walls, false);
|
||||||
|
|
||||||
|
Renderer[] rs = bulletholes.GetComponentsInChildren<Renderer>();
|
||||||
|
foreach(Renderer r in rs)
|
||||||
|
r.enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Change ground texture
|
||||||
|
if(ParticleExamples[exampleIndex].name.Contains("Wood"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Wood";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Concrete"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Concrete";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Metal"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Metal";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Dirt")
|
||||||
|
|| ParticleExamples[exampleIndex].name.Contains("Sand")
|
||||||
|
|| ParticleExamples[exampleIndex].name.Contains("SoftBody"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Checker";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name == "WFX_Explosion")
|
||||||
|
{
|
||||||
|
groundTextureStr = "Checker";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f29cbe1088b10084fb12c7ba8a19f151
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
@ -0,0 +1,14 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class WFX_Demo_DeleteAfterDelay : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float delay = 1.0f;
|
||||||
|
|
||||||
|
void Update ()
|
||||||
|
{
|
||||||
|
delay -= Time.deltaTime;
|
||||||
|
if(delay < 0f)
|
||||||
|
GameObject.Destroy(this.gameObject);
|
||||||
|
}
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_DeleteAfterDelay.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_DeleteAfterDelay.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cce2a86394e858c419a5d614b1036533
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M4.fbx
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M4.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
63
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M4.fbx.meta
generated
Normal file
63
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M4.fbx.meta
generated
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7350c439920074a58a63ca710c013777
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 15
|
||||||
|
fileIDToRecycleName:
|
||||||
|
100000: //RootNode
|
||||||
|
400000: //RootNode
|
||||||
|
2300000: //RootNode
|
||||||
|
3300000: //RootNode
|
||||||
|
4300000: polySurface1
|
||||||
|
11100000: //RootNode
|
||||||
|
materials:
|
||||||
|
importMaterials: 0
|
||||||
|
materialName: 3
|
||||||
|
materialSearch: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 3
|
||||||
|
bakeSimulation: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: .5
|
||||||
|
animationPositionError: .5
|
||||||
|
animationScaleError: .5
|
||||||
|
animationWrapMode: 0
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 1
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
importBlendShapes: 1
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
optimizeMeshForGPU: 1
|
||||||
|
weldVertices: 1
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 180
|
||||||
|
splitTangentsAcrossUV: 0
|
||||||
|
normalImportMode: 1
|
||||||
|
tangentImportMode: 1
|
||||||
|
importAnimation: 1
|
||||||
|
copyAvatar: 0
|
||||||
|
humanDescription:
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
handles: []
|
||||||
|
armTwist: .5
|
||||||
|
foreArmTwist: .5
|
||||||
|
upperLegTwist: .5
|
||||||
|
legTwist: .5
|
||||||
|
armStretch: .0500000007
|
||||||
|
legStretch: .0500000007
|
||||||
|
feetSpacing: 0
|
||||||
|
rootMotionBoneName:
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
additionalBone: 1
|
||||||
|
animationType: 1
|
||||||
|
userData:
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker Wall.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker Wall.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Checker Wall
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords:
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 8, y: 8}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 54c2645bfa981ee44bfdce36b7823367, type: 3}
|
||||||
|
m_Scale: {x: 6, y: 1.5}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.039
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.38674912
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.5298507, g: 0.5298507, b: 0.5298507, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker Wall.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker Wall.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: af09f8959d2e3e5409129ec9ec5ab06e
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Checker
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords:
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 8, y: 8}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 54c2645bfa981ee44bfdce36b7823367, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 8}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.039
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.38674912
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.5298507, g: 0.5298507, b: 0.5298507, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Checker.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dc070aa3464121b4d92dc268f1a79c93
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete Wall.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete Wall.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Concrete Wall
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 9ad1b7cbb4464c54ea0514cfe41f9bed, type: 3}
|
||||||
|
m_Scale: {x: 4, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 3795ce9fd3b225244b8149252918c4e9, type: 3}
|
||||||
|
m_Scale: {x: 4, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.05
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.22827822
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.61194026, g: 0.61194026, b: 0.61194026, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.12686568, g: 0.12686568, b: 0.12686568, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete Wall.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete Wall.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ab6453a18f7ff2f4ebb1d7ccb0fe1353
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Concrete
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 9ad1b7cbb4464c54ea0514cfe41f9bed, type: 3}
|
||||||
|
m_Scale: {x: 6, y: 6}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 3795ce9fd3b225244b8149252918c4e9, type: 3}
|
||||||
|
m_Scale: {x: 6, y: 6}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.05
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.22827822
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.61194026, g: 0.61194026, b: 0.61194026, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.12686568, g: 0.12686568, b: 0.12686568, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Concrete.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c071c19d8a6f8b34aa95017397002b83
|
77
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4 Normal.mat
generated
Normal file
77
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4 Normal.mat
generated
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_M4 Normal
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: b58f7bfc777b4ad45af55a8166ff1d01, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 8bb64b30715a946c4af195846eb24774, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.6
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0.4
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4 Normal.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4 Normal.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d18b9b1f2eaad0b46801529e4cdbaa94
|
82
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4.mat
generated
Normal file
82
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4.mat
generated
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_M4
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: b58f7bfc777b4ad45af55a8166ff1d01, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 8bb64b30715a946c4af195846eb24774, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 0.733
|
||||||
|
- _Glossiness: 0.6
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0.4
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _Shininess: 0.07335264
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.6268657, g: 0.6268657, b: 0.6268657, a: 1}
|
||||||
|
--- !u!1002 &2100001
|
||||||
|
EditorExtensionImpl:
|
||||||
|
serializedVersion: 6
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_M4.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 59a86acc489cd454cbc07c4848d68ef3
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal Wall.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal Wall.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Metal Wall
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: eb7b1c04257f39243a38762db836d80c, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 2}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: a0e33cc5ebc3c214d906f6d5cc5aa18a, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 2}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0.7
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 1
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.86567163, g: 0.86567163, b: 0.86567163, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal Wall.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal Wall.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 97a1c489739b9654294f9eec96f9988f
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Metal
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: eb7b1c04257f39243a38762db836d80c, type: 3}
|
||||||
|
m_Scale: {x: 7, y: 7}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: a0e33cc5ebc3c214d906f6d5cc5aa18a, type: 3}
|
||||||
|
m_Scale: {x: 7, y: 7}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 0.905
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0.7
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 1
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 0.86567163, g: 0.86567163, b: 0.86567163, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Metal.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d172212e29c865242b5302054f759758
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood Wall.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood Wall.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Wood Wall
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: d5bbdfb7cec442b408c8834fcadb7b55, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 4}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 0938b4bdb94798b4896d7a4ab653e85e, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 4}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.4
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.22827822
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.12686568, g: 0.12686568, b: 0.12686568, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood Wall.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood Wall.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2b3f9a49a1177774e923a5b708423b4c
|
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood.mat
generated
Normal file
79
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood.mat
generated
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: WFX_Demo_M_Wood
|
||||||
|
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords: _NORMALMAP
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 2800000, guid: d5bbdfb7cec442b408c8834fcadb7b55, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 8}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 0938b4bdb94798b4896d7a4ab653e85e, type: 3}
|
||||||
|
m_Scale: {x: 8, y: 8}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.4
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _Shininess: 0.7331746
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.20588237, g: 0.20588237, b: 0.20588237, a: 1}
|
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood.mat.meta
generated
Normal file
2
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_M_Wood.mat.meta
generated
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c4b3df7d7d9b4194aad9879ce91ea700
|
384
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_New.cs
Normal file
384
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_New.cs
Normal file
@ -0,0 +1,384 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
// Cartoon FX - (c) 2015 - Jean Moreno
|
||||||
|
//
|
||||||
|
// Script handling the Demo scene of the Cartoon FX Packs
|
||||||
|
|
||||||
|
public class WFX_Demo_New : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Renderer groundRenderer;
|
||||||
|
public Collider groundCollider;
|
||||||
|
[Space]
|
||||||
|
[Space]
|
||||||
|
public Image slowMoBtn;
|
||||||
|
public Text slowMoLabel;
|
||||||
|
public Image camRotBtn;
|
||||||
|
public Text camRotLabel;
|
||||||
|
public Image groundBtn;
|
||||||
|
public Text groundLabel;
|
||||||
|
[Space]
|
||||||
|
public Text EffectLabel;
|
||||||
|
public Text EffectIndexLabel;
|
||||||
|
|
||||||
|
//WFX
|
||||||
|
public GameObject[] AdditionalEffects;
|
||||||
|
public GameObject ground;
|
||||||
|
public GameObject walls;
|
||||||
|
public GameObject bulletholes;
|
||||||
|
public GameObject m4, m4fps;
|
||||||
|
public Material wood,concrete,metal,checker;
|
||||||
|
public Material woodWall,concreteWall,metalWall,checkerWall;
|
||||||
|
private string groundTextureStr = "Checker";
|
||||||
|
private List<string> groundTextures = new List<string>(new string[]{"Concrete","Wood","Metal","Checker"});
|
||||||
|
|
||||||
|
//-------------------------------------------------------------
|
||||||
|
|
||||||
|
private GameObject[] ParticleExamples;
|
||||||
|
private int exampleIndex;
|
||||||
|
private bool slowMo;
|
||||||
|
private Vector3 defaultCamPosition;
|
||||||
|
private Quaternion defaultCamRotation;
|
||||||
|
|
||||||
|
private List<GameObject> onScreenParticles = new List<GameObject>();
|
||||||
|
|
||||||
|
//-------------------------------------------------------------
|
||||||
|
|
||||||
|
void Awake()
|
||||||
|
{
|
||||||
|
List<GameObject> particleExampleList = new List<GameObject>();
|
||||||
|
int nbChild = this.transform.childCount;
|
||||||
|
for(int i = 0; i < nbChild; i++)
|
||||||
|
{
|
||||||
|
GameObject child = this.transform.GetChild(i).gameObject;
|
||||||
|
particleExampleList.Add(child);
|
||||||
|
}
|
||||||
|
particleExampleList.AddRange(AdditionalEffects);
|
||||||
|
ParticleExamples = particleExampleList.ToArray();
|
||||||
|
|
||||||
|
defaultCamPosition = Camera.main.transform.position;
|
||||||
|
defaultCamRotation = Camera.main.transform.rotation;
|
||||||
|
|
||||||
|
StartCoroutine("CheckForDeletedParticles");
|
||||||
|
|
||||||
|
UpdateUI();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if(Input.GetKeyDown(KeyCode.LeftArrow))
|
||||||
|
{
|
||||||
|
prevParticle();
|
||||||
|
}
|
||||||
|
else if(Input.GetKeyDown(KeyCode.RightArrow))
|
||||||
|
{
|
||||||
|
nextParticle();
|
||||||
|
}
|
||||||
|
else if(Input.GetKeyDown(KeyCode.Delete))
|
||||||
|
{
|
||||||
|
destroyParticles();
|
||||||
|
}
|
||||||
|
|
||||||
|
if(Input.GetMouseButtonDown(0))
|
||||||
|
{
|
||||||
|
RaycastHit hit = new RaycastHit();
|
||||||
|
if(groundCollider.Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||||
|
{
|
||||||
|
GameObject particle = spawnParticle();
|
||||||
|
if(!particle.name.StartsWith("WFX_MF"))
|
||||||
|
particle.transform.position = hit.point + particle.transform.position;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
float scroll = Input.GetAxis("Mouse ScrollWheel");
|
||||||
|
if(scroll != 0f)
|
||||||
|
{
|
||||||
|
Camera.main.transform.Translate(Vector3.forward * (scroll < 0f ? -1f : 1f), Space.Self);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(Input.GetMouseButtonDown(2))
|
||||||
|
{
|
||||||
|
Camera.main.transform.position = defaultCamPosition;
|
||||||
|
Camera.main.transform.rotation = defaultCamRotation;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------
|
||||||
|
// MESSAGES
|
||||||
|
|
||||||
|
public void OnToggleGround()
|
||||||
|
{
|
||||||
|
var c = Color.white;
|
||||||
|
groundRenderer.enabled = !groundRenderer.enabled;
|
||||||
|
c.a = groundRenderer.enabled ? 1f : 0.33f;
|
||||||
|
groundBtn.color = c;
|
||||||
|
groundLabel.color = c;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnToggleCamera()
|
||||||
|
{
|
||||||
|
var c = Color.white;
|
||||||
|
CFX_Demo_RotateCamera.rotating = !CFX_Demo_RotateCamera.rotating;
|
||||||
|
c.a = CFX_Demo_RotateCamera.rotating ? 1f : 0.33f;
|
||||||
|
camRotBtn.color = c;
|
||||||
|
camRotLabel.color = c;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnToggleSlowMo()
|
||||||
|
{
|
||||||
|
var c = Color.white;
|
||||||
|
|
||||||
|
slowMo = !slowMo;
|
||||||
|
if(slowMo)
|
||||||
|
{
|
||||||
|
Time.timeScale = 0.33f;
|
||||||
|
c.a = 1f;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Time.timeScale = 1.0f;
|
||||||
|
c.a = 0.33f;
|
||||||
|
}
|
||||||
|
|
||||||
|
slowMoBtn.color = c;
|
||||||
|
slowMoLabel.color = c;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnPreviousEffect()
|
||||||
|
{
|
||||||
|
prevParticle();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnNextEffect()
|
||||||
|
{
|
||||||
|
nextParticle();
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------
|
||||||
|
// UI
|
||||||
|
|
||||||
|
private void UpdateUI()
|
||||||
|
{
|
||||||
|
EffectLabel.text = ParticleExamples[exampleIndex].name;
|
||||||
|
EffectIndexLabel.text = string.Format("{0}/{1}", (exampleIndex+1).ToString("00"), ParticleExamples.Length.ToString("00"));
|
||||||
|
}
|
||||||
|
|
||||||
|
//-------------------------------------------------------------
|
||||||
|
// SYSTEM
|
||||||
|
|
||||||
|
public GameObject spawnParticle()
|
||||||
|
{
|
||||||
|
GameObject particles = (GameObject)Instantiate(ParticleExamples[exampleIndex]);
|
||||||
|
particles.transform.position = new Vector3(0,particles.transform.position.y,0);
|
||||||
|
#if UNITY_3_5
|
||||||
|
particles.SetActiveRecursively(true);
|
||||||
|
#else
|
||||||
|
particles.SetActive(true);
|
||||||
|
// for(int i = 0; i < particles.transform.childCount; i++)
|
||||||
|
// particles.transform.GetChild(i).gameObject.SetActive(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if(particles.name.StartsWith("WFX_MF"))
|
||||||
|
{
|
||||||
|
particles.transform.parent = ParticleExamples[exampleIndex].transform.parent;
|
||||||
|
particles.transform.localPosition = ParticleExamples[exampleIndex].transform.localPosition;
|
||||||
|
particles.transform.localRotation = ParticleExamples[exampleIndex].transform.localRotation;
|
||||||
|
}
|
||||||
|
else if(particles.name.Contains("Hole"))
|
||||||
|
{
|
||||||
|
particles.transform.parent = bulletholes.transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
ParticleSystem ps = particles.GetComponent<ParticleSystem>();
|
||||||
|
#if UNITY_5_5_OR_NEWER
|
||||||
|
if (ps != null)
|
||||||
|
{
|
||||||
|
var main = ps.main;
|
||||||
|
if (main.loop)
|
||||||
|
{
|
||||||
|
ps.gameObject.AddComponent<CFX_AutoStopLoopedEffect>();
|
||||||
|
ps.gameObject.AddComponent<CFX_AutoDestructShuriken>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if(ps != null && ps.loop)
|
||||||
|
{
|
||||||
|
ps.gameObject.AddComponent<CFX_AutoStopLoopedEffect>();
|
||||||
|
ps.gameObject.AddComponent<CFX_AutoDestructShuriken>();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
onScreenParticles.Add(particles);
|
||||||
|
|
||||||
|
return particles;
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator CheckForDeletedParticles()
|
||||||
|
{
|
||||||
|
while(true)
|
||||||
|
{
|
||||||
|
yield return new WaitForSeconds(5.0f);
|
||||||
|
for(int i = onScreenParticles.Count - 1; i >= 0; i--)
|
||||||
|
{
|
||||||
|
if(onScreenParticles[i] == null)
|
||||||
|
{
|
||||||
|
onScreenParticles.RemoveAt(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void prevParticle()
|
||||||
|
{
|
||||||
|
exampleIndex--;
|
||||||
|
if(exampleIndex < 0) exampleIndex = ParticleExamples.Length - 1;
|
||||||
|
|
||||||
|
UpdateUI();
|
||||||
|
showHideStuff();
|
||||||
|
}
|
||||||
|
private void nextParticle()
|
||||||
|
{
|
||||||
|
exampleIndex++;
|
||||||
|
if(exampleIndex >= ParticleExamples.Length) exampleIndex = 0;
|
||||||
|
|
||||||
|
UpdateUI();
|
||||||
|
showHideStuff();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void destroyParticles()
|
||||||
|
{
|
||||||
|
for(int i = onScreenParticles.Count - 1; i >= 0; i--)
|
||||||
|
{
|
||||||
|
if(onScreenParticles[i] != null)
|
||||||
|
{
|
||||||
|
GameObject.Destroy(onScreenParticles[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
onScreenParticles.RemoveAt(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Change Textures
|
||||||
|
|
||||||
|
private void prevTexture()
|
||||||
|
{
|
||||||
|
int index = groundTextures.IndexOf(groundTextureStr);
|
||||||
|
index--;
|
||||||
|
if(index < 0)
|
||||||
|
index = groundTextures.Count-1;
|
||||||
|
|
||||||
|
groundTextureStr = groundTextures[index];
|
||||||
|
|
||||||
|
selectMaterial();
|
||||||
|
|
||||||
|
}
|
||||||
|
private void nextTexture()
|
||||||
|
{
|
||||||
|
int index = groundTextures.IndexOf(groundTextureStr);
|
||||||
|
index++;
|
||||||
|
if(index >= groundTextures.Count)
|
||||||
|
index = 0;
|
||||||
|
|
||||||
|
groundTextureStr = groundTextures[index];
|
||||||
|
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void selectMaterial()
|
||||||
|
{
|
||||||
|
switch(groundTextureStr)
|
||||||
|
{
|
||||||
|
case "Concrete":
|
||||||
|
ground.GetComponent<Renderer>().material = concrete;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = concreteWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = concreteWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Wood":
|
||||||
|
ground.GetComponent<Renderer>().material = wood;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = woodWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = woodWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Metal":
|
||||||
|
ground.GetComponent<Renderer>().material = metal;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = metalWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = metalWall;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "Checker":
|
||||||
|
ground.GetComponent<Renderer>().material = checker;
|
||||||
|
walls.transform.GetChild(0).GetComponent<Renderer>().material = checkerWall;
|
||||||
|
walls.transform.GetChild(1).GetComponent<Renderer>().material = checkerWall;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void showHideStuff()
|
||||||
|
{
|
||||||
|
//Show m4
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_MF Spr"))
|
||||||
|
{
|
||||||
|
m4.GetComponent<Renderer>().enabled = true;
|
||||||
|
Camera.main.transform.position = new Vector3(-2.482457f, 3.263842f, -0.004924395f);
|
||||||
|
Camera.main.transform.eulerAngles = new Vector3(20f, 90f, 0f);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
m4.GetComponent<Renderer>().enabled = false;
|
||||||
|
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_MF FPS"))
|
||||||
|
m4fps.GetComponent<Renderer>().enabled = true;
|
||||||
|
else
|
||||||
|
m4fps.GetComponent<Renderer>().enabled = false;
|
||||||
|
|
||||||
|
//Show walls
|
||||||
|
if(ParticleExamples[exampleIndex].name.StartsWith("WFX_BImpact"))
|
||||||
|
{
|
||||||
|
walls.SetActive(true);
|
||||||
|
|
||||||
|
Renderer[] rs = bulletholes.GetComponentsInChildren<Renderer>();
|
||||||
|
foreach(Renderer r in rs)
|
||||||
|
r.enabled = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
walls.SetActive(false);
|
||||||
|
|
||||||
|
Renderer[] rs = bulletholes.GetComponentsInChildren<Renderer>();
|
||||||
|
foreach(Renderer r in rs)
|
||||||
|
r.enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//Change ground texture
|
||||||
|
if(ParticleExamples[exampleIndex].name.Contains("Wood"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Wood";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Concrete"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Concrete";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Metal"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Metal";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name.Contains("Dirt")
|
||||||
|
|| ParticleExamples[exampleIndex].name.Contains("Sand")
|
||||||
|
|| ParticleExamples[exampleIndex].name.Contains("SoftBody"))
|
||||||
|
{
|
||||||
|
groundTextureStr = "Checker";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
else if(ParticleExamples[exampleIndex].name == "WFX_Explosion")
|
||||||
|
{
|
||||||
|
groundTextureStr = "Checker";
|
||||||
|
selectMaterial();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_New.cs.meta
generated
Normal file
8
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_New.cs.meta
generated
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6b322923f82d20c4ba75b8657b00331b
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
13
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_RandomDir.cs
Normal file
13
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_RandomDir.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class WFX_Demo_RandomDir : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Vector3 min = new Vector3(0,0,0);
|
||||||
|
public Vector3 max = new Vector3(0,360,0);
|
||||||
|
|
||||||
|
void Awake ()
|
||||||
|
{
|
||||||
|
this.transform.eulerAngles = new Vector3(Random.Range(min.x,max.x),Random.Range(min.y,max.y),Random.Range(min.z,max.z));
|
||||||
|
}
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_RandomDir.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_RandomDir.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 936f98d748ce69c4caf9bc76c7e38a8b
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Checker.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Checker.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Checker.tga.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Checker.tga.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 54c2645bfa981ee44bfdce36b7823367
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -2
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: -1
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: -1
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone Normal.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone Normal.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone Normal.tga.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone Normal.tga.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9ad1b7cbb4464c54ea0514cfe41f9bed
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 1
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 1
|
||||||
|
externalNormalMap: 1
|
||||||
|
heightScale: .0186999999
|
||||||
|
normalMapFilter: 1
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: 1
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone.tga.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Cobblestone.tga.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3795ce9fd3b225244b8149252918c4e9
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: -1
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4 Normal.jpg
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4 Normal.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4 Normal.jpg.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4 Normal.jpg.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b58f7bfc777b4ad45af55a8166ff1d01
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 1
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 1
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapMode: 0
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: 1
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4.tga.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_M4.tga.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8bb64b30715a946c4af195846eb24774
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 2
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: 5
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal Normal.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal Normal.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal Normal.tga.meta
generated
Normal file
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal Normal.tga.meta
generated
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: eb7b1c04257f39243a38762db836d80c
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 1
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 1
|
||||||
|
externalNormalMap: 1
|
||||||
|
heightScale: .0500000007
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
textureType: 1
|
||||||
|
buildTargetSettings: []
|
||||||
|
userData:
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal.tga.meta
generated
Normal file
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Metal.tga.meta
generated
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a0e33cc5ebc3c214d906f6d5cc5aa18a
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -1
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
textureType: -1
|
||||||
|
buildTargetSettings: []
|
||||||
|
userData:
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood Normal.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood Normal.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood Normal.tga.meta
generated
Normal file
33
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood Normal.tga.meta
generated
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d5bbdfb7cec442b408c8834fcadb7b55
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 1
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 1
|
||||||
|
externalNormalMap: 1
|
||||||
|
heightScale: .0520000011
|
||||||
|
normalMapFilter: 1
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
textureType: 1
|
||||||
|
buildTargetSettings: []
|
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood.tga
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood.tga.meta
generated
Normal file
36
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_T_Wood.tga.meta
generated
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0938b4bdb94798b4896d7a4ab653e85e
|
||||||
|
TextureImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 1
|
||||||
|
linearTexture: 0
|
||||||
|
correctGamma: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: .25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
filterMode: -1
|
||||||
|
aniso: 5
|
||||||
|
mipBias: -1
|
||||||
|
wrapMode: -1
|
||||||
|
nPOTScale: 1
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
alphaIsTransparency: 0
|
||||||
|
textureType: -1
|
||||||
|
buildTargetSettings: []
|
||||||
|
userData:
|
26
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_Wall.cs
Normal file
26
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_Wall.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Demo Scene Script for WAR FX
|
||||||
|
*
|
||||||
|
* (c) 2015, Jean Moreno
|
||||||
|
**/
|
||||||
|
|
||||||
|
public class WFX_Demo_Wall : MonoBehaviour
|
||||||
|
{
|
||||||
|
public WFX_Demo_New demo;
|
||||||
|
|
||||||
|
void OnMouseDown()
|
||||||
|
{
|
||||||
|
RaycastHit hit = new RaycastHit();
|
||||||
|
if(this.GetComponent<Collider>().Raycast(Camera.main.ScreenPointToRay(Input.mousePosition), out hit, 9999f))
|
||||||
|
{
|
||||||
|
GameObject particle = demo.spawnParticle();
|
||||||
|
particle.transform.position = hit.point;
|
||||||
|
particle.transform.rotation = Quaternion.FromToRotation(Vector3.forward, hit.normal);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_Wall.cs.meta
generated
Normal file
7
Assets/JMO Assets/WarFX/Demo/Assets/WFX_Demo_Wall.cs.meta
generated
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e1b171d14b3d5549a9080c5bb8eb2b1
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
5
Assets/JMO Assets/WarFX/Demo/UI Canvas.meta
generated
Normal file
5
Assets/JMO Assets/WarFX/Demo/UI Canvas.meta
generated
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e9d55d43b1e68cc40a16c4de3455b729
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow R.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow R.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow R.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow R.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3783f195e2c8dc84cb1461fbe881e9cb
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Arrow.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6ca93523b0317c242b05932fedb07cb3
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera H.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera H.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera H.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera H.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 90cdb91b8028d984b9adf63a23402f86
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Camera.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4c72f3c555f96274787f31379fabb6ff
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground H.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground H.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground H.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground H.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5cc9c4a6db9a74a40aaed761fc99294c
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn Ground.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a2bcf923df54ffa4ba7e795955c5dc22
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo H.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo H.png
(Stored with Git LFS)
Normal file
Binary file not shown.
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo H.png.meta
generated
Normal file
104
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo H.png.meta
generated
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 48624f05b683e4a4ab1a142e40fd6971
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 0
|
||||||
|
linearTexture: 1
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: -3
|
||||||
|
maxTextureSize: 1024
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
applyGammaDecoding: 1
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 1024
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 1
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo.png
(Stored with Git LFS)
Normal file
BIN
Assets/JMO Assets/WarFX/Demo/UI Canvas/CFX Demo Btn SlowMo.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user