add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c85c7258738b2e41817b18776ad21c2
|
||||
folderAsset: yes
|
||||
timeCreated: 1629712469
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 468298e807695b549b7226ccf3735bf9
|
||||
timeCreated: 1694162146
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/EBS/GKC EBS Integration
|
||||
3.7.pdf
|
||||
uploadId: 814740
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 106d015881e20a4439c39fedcf3a493a
|
||||
folderAsset: yes
|
||||
timeCreated: 1629712437
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb492f4115067cf4588db47bc81939cd
|
||||
timeCreated: 1650317323
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/Emerald AI/EMERALD
|
||||
INTEGRATION.pdf
|
||||
uploadId: 814740
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47c7a6b694a85ce4cbadf8803de874a1
|
||||
folderAsset: yes
|
||||
timeCreated: 1629712477
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
Follow the steps from the instructions on this file:
|
||||
|
||||
https://drive.google.com/file/d/1-dBjwav-uG4lwwN2gxnrbL3Yx2G5zy28/view?usp=sharing
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 208c65a1b56c6544ca74e7c9a9ba6745
|
||||
timeCreated: 1619497927
|
||||
licenseType: Store
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/UMA/UMA 2 Integration.txt
|
||||
uploadId: 814740
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08832ae00645022449e9c31a88ced701
|
||||
folderAsset: yes
|
||||
timeCreated: 1615985357
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,51 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class UMAIgnoreTransformAndChilds : MonoBehaviour
|
||||
{
|
||||
[Header ("Main Settings")]
|
||||
[Space]
|
||||
|
||||
public List<Transform> childsToIgnore = new List<Transform> ();
|
||||
|
||||
[Space]
|
||||
[Header ("Debug")]
|
||||
[Space]
|
||||
|
||||
public List<Transform> objectsToIgnoreChildren = new List<Transform> ();
|
||||
|
||||
public int numberOfChilds;
|
||||
|
||||
|
||||
public void removeChildList ()
|
||||
{
|
||||
objectsToIgnoreChildren.Clear ();
|
||||
|
||||
numberOfChilds = 0;
|
||||
}
|
||||
|
||||
public List<Transform> getChildrenList ()
|
||||
{
|
||||
return objectsToIgnoreChildren;
|
||||
}
|
||||
|
||||
public void setChildrenList ()
|
||||
{
|
||||
objectsToIgnoreChildren.Clear ();
|
||||
|
||||
numberOfChilds = 0;
|
||||
|
||||
for (int i = 0; i < childsToIgnore.Count; i++) {
|
||||
Transform child = childsToIgnore [i];
|
||||
|
||||
Component[] childrens = child.GetComponentsInChildren (typeof(Transform), true);
|
||||
|
||||
foreach (Transform currentTransform in childrens) {
|
||||
objectsToIgnoreChildren.Add (currentTransform);
|
||||
}
|
||||
}
|
||||
|
||||
numberOfChilds = objectsToIgnoreChildren.Count;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e5291746a2342ae44b1fed9144909753
|
||||
timeCreated: 1615985366
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/UMA/UMA/UMAIgnoreTransformAndChilds.cs
|
||||
uploadId: 814740
|
||||
@@ -0,0 +1,38 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
|
||||
[CustomEditor (typeof(UMAIgnoreTransformAndChilds))]
|
||||
public class UMAIgnoreTransformAndChildsEditor : Editor
|
||||
{
|
||||
UMAIgnoreTransformAndChilds manager;
|
||||
|
||||
void OnEnable ()
|
||||
{
|
||||
manager = (UMAIgnoreTransformAndChilds)target;
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI ()
|
||||
{
|
||||
DrawDefaultInspector ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
GUILayout.Label ("EDITOR BUTTONS", EditorStyles.boldLabel);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
if (GUILayout.Button ("Add Transforms To Ignore")) {
|
||||
manager.setChildrenList ();
|
||||
}
|
||||
if (GUILayout.Button ("Remove Transforms To Ignore")) {
|
||||
manager.removeChildList ();
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,19 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e3032e8bebeda15408c78402099d1ab3
|
||||
timeCreated: 1615985366
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/UMA/UMA/UMAIgnoreTransformAndChildsEditor.cs
|
||||
uploadId: 814740
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 49cce43d86a37db45af1921870737402
|
||||
folderAsset: yes
|
||||
timeCreated: 1634660747
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UniversalAI;
|
||||
|
||||
public class GKCUniversalAIDamageDetectionInterface : healthManagement
|
||||
{
|
||||
public UniversalDamageable mainUniversalDamageable;
|
||||
|
||||
bool damageComponentLocated;
|
||||
|
||||
public override void setDamageWithHealthManagement(float damageAmount,
|
||||
Vector3 fromDirection, Vector3 damagePos, GameObject attacker, GameObject projectile,
|
||||
bool damageConstant,
|
||||
bool searchClosestWeakSpot, bool ignoreShield, bool
|
||||
ignoreDamageInScreen, bool damageCanBeBlocked, bool
|
||||
canActivateReactionSystemTemporally, int damageReactionID, int damageTypeID)
|
||||
{
|
||||
if (!damageComponentLocated)
|
||||
{
|
||||
mainUniversalDamageable = GetComponent<UniversalDamageable>();
|
||||
|
||||
damageComponentLocated = true;
|
||||
}
|
||||
|
||||
if (damageComponentLocated)
|
||||
{
|
||||
mainUniversalDamageable.TakeDamage((int)damageAmount);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 63dfdfd48db9a16498fae87e3745e043
|
||||
timeCreated: 1634660810
|
||||
licenseType: Store
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/Universal AI/GKCUniversalAIDamageDetectionInterface.txt
|
||||
uploadId: 814740
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b4399063fa890f4780ed885f5f889e4
|
||||
timeCreated: 1634661015
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
assetPath: Assets/Game Kit Controller/Documentation/Integrations/Universal AI/Universal
|
||||
AI System Integration GKC.pdf
|
||||
uploadId: 814740
|
||||
Reference in New Issue
Block a user