Forum rules - please read before posting.

jamesfootlight

About

Username
jamesfootlight
Joined
Visits
4,779
Last Active
Roles
Member

Comments

  • Not sure what exactly to remove in the script?
  • I got some help with it so I am unsure myself :)
  • I will want to call change skin i guess?
  • Not sure, the script is just on a game object in scene currently
  • So, I have finally got SkinExample working! See my modified code! using System.Collections;using System.Collections.Generic;using UnityEngine;using Spine;using Spine.Unity;using AC;public class SkinExample : MonoBehaviour{ // Drag your skeleton …
  • Ok thanks Chris!
  • I just need to be able to access the SkeletonAnimation, initial Skin dropdown choices in a custom action script so at the start of a scene i can set player prefab to be Clothes/Suit eg or Clothes/UnTuck eg - these work if i manually choose the dropd…
  • only thing revealed in Console is the same error: (Quote) NullReferenceException: Object reference not set to an instance of an object SkinExample.ChangeSkin () (at Assets/Sleepytime Village/Scripts/SkinExample.cs:42) UnityEngine.Events.InvokableCa…
  • Ok, no probs, tried that and got an error, I appreciate it is not related to AC, but any further help you can spare would be greatly received : NullReferenceException: Object reference not set to an instance of an objectSkinExample.ChangeSkin () (a…
  • Problem is I cannot get the SkinExample to work or do anything currently, See video and PDF detailing everything. PDF: https://www.dropbox.com/s/y0krbbgslmcea18/Switching%20Skins.pdf?dl=0 Video: https://www.dropbox.com/s/q99zv8op15r7ptk/SpineSki…
  • Can you help me understand how to incorporate the SpineExample script into a custom action script so I can insert the skin name into the action for the player prefab spineGameObject like in ChangeSkinAction (that currently seems to not do anything :…
  • updated code to what you updated but getting this error: Assets/Sleepytime Village/Scripts/CustomActions/ChangeSkinAction.cs(3,1): error CS1529: A using clause must precede all other elements defined in the namespace except extern alias declaration…
  • Update, so I have made it into a custom action successfully, but get two errors: PlayerGameObject is NullUnityEngine.Debug:LogError (object) The Spine GameObject is missing once the scene is stopped. and MissingReferenceException: The object of …
  • For the player prefab rather than a scene instance? Would be great to have the option to choose Active Player or NPC like other character actions
  • Ok so I choose play in background for player dialogue and it worked!
  • in fact, i think this code, but i would need this as a custom script if possible? Ignore code above: using System.Collections;using System.Collections.Generic;using UnityEngine;using Spine;using Spine.Unity;public class SkinExample : MonoBehaviour …
  • Hi Chris, I am trying to use a custom action script to change the skin. But I am getting an error: Assets/Sleepytime Village/Scripts/CustomActions/ChangeSkinAction.cs(29,13): error CS0246: The type or namespace name 'SkeletonAnimator' could not be…
  • I did a test and in play positioned the Player into a RL position then ran the action list and the animation did play. So it seems that the Character face direction command isn't working?
  • Tried both and it still said: ArgumentException: Animation not found: TuckStartled Parameter name: animationName
  • Tried that but still not working? See pic of anim command and console error: https://www.dropbox.com/s/c7pcslbocpmwl4f/StillNotWorking.png?dl=0
Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.