plantilla base para movimiento básico
This commit is contained in:
Robii Aragon
2026-02-05 05:07:55 -08:00
parent 195b696771
commit 779f2c8b20
14443 changed files with 23840465 additions and 452 deletions

View File

@@ -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);
}
}
}

View File

@@ -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

View File

@@ -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